mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Add max height
This commit is contained in:
parent
7fcbc3a814
commit
d83264f538
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user