Update to DropDown and Menu.

This commit is contained in:
Huo Yaoyuan
2017-03-22 06:51:26 +08:00
parent 1d13924e0a
commit f0edf5d3d3
6 changed files with 88 additions and 74 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Options
{
public class OptionDropDown<T> : FillFlowContainer
{
private DropDownMenu<T> dropdown;
private DropDown<T> dropdown;
private SpriteText text;
public string LabelText
@ -97,7 +97,7 @@ namespace osu.Game.Overlays.Options
text = new OsuSpriteText {
Alpha = 0,
},
dropdown = new OsuDropDownMenu<T>
dropdown = new OsuDropDown<T>
{
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,