mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Limit maximum height of settings enum dropdowns
This commit is contained in:
parent
64bb1f381b
commit
d298e95df7
@ -19,6 +19,8 @@ namespace osu.Game.Overlays.Settings
|
|||||||
Margin = new MarginPadding { Top = 5 };
|
Margin = new MarginPadding { Top = 5 };
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override DropdownMenu CreateMenu() => base.CreateMenu().With(m => m.MaxHeight = 200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user