1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Add max height

This commit is contained in:
smoogipoo 2020-09-02 22:56:13 +09:00
parent 7fcbc3a814
commit d83264f538

View File

@ -288,6 +288,11 @@ namespace osu.Game.Screens.Select
private class CollectionDropdownMenu : OsuDropdownMenu
{
public CollectionDropdownMenu()
{
MaxHeight = 200;
}
protected override DrawableDropdownMenuItem CreateDrawableDropdownMenuItem(MenuItem item) => new CollectionDropdownMenuItem(item);
}