mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Fix main menu buttons handling keys when super (cmd) is held
This commit is contained in:
parent
816fcae3a1
commit
416b57ea69
@ -209,7 +209,7 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.Repeat || e.ControlPressed || e.ShiftPressed || e.AltPressed)
|
||||
if (e.Repeat || e.ControlPressed || e.ShiftPressed || e.AltPressed || e.SuperPressed)
|
||||
return false;
|
||||
|
||||
if (TriggerKey == e.Key && TriggerKey != Key.Unknown)
|
||||
|
Loading…
Reference in New Issue
Block a user