Handle non positional input only when opened

This commit is contained in:
Paul Teng 2018-10-06 08:06:26 -04:00
parent 4ea4a0797f
commit 6b236e3f2a
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ private void updateAccentColour()
#region OsuDropdownMenu
protected class OsuDropdownMenu : DropdownMenu, IHasAccentColour
{
public override bool HandleNonPositionalInput => this.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()
{