mirror of
https://github.com/ppy/osu
synced 2025-01-16 11:01:03 +00:00
Handle non positional input only when opened
This commit is contained in:
parent
4ea4a0797f
commit
6b236e3f2a
@ -51,6 +51,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
#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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user