Merge pull request #3553 from plankp/handle-when-open

Handle non positional input only when opened
This commit is contained in:
Dean Herbert
2018-10-07 22:12:28 +09:00
committed by GitHub

View File

@ -51,6 +51,8 @@ namespace osu.Game.Graphics.UserInterface
#region OsuDropdownMenu
protected class OsuDropdownMenu : DropdownMenu, IHasAccentColour
{
public override bool HandleNonPositionalInput => State == MenuState.Open;
// todo: this uses the same styling as OsuMenu. hopefully we can just use OsuMenu in the future with some refactoring
public OsuDropdownMenu()
{