mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 22:17:46 +08:00
Merge pull request #17994 from peppy/fix-mod-panel-key-blocking
This commit is contained in:
commit
027ba17844
@ -441,7 +441,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.ControlPressed || e.AltPressed) return false;
|
||||
if (e.ControlPressed || e.AltPressed || e.SuperPressed) return false;
|
||||
if (toggleKeys == null) return false;
|
||||
|
||||
int index = Array.IndexOf(toggleKeys, e.Key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user