mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 07:32:58 +08:00
Merge pull request #10769 from peppy/fix-mod-select-keys-handle-control
Stop mod select overlay hotkeys handling input when control is pressed
This commit is contained in:
commit
d873229120
@ -85,6 +85,8 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.ControlPressed) return false;
|
||||
|
||||
if (ToggleKeys != null)
|
||||
{
|
||||
var index = Array.IndexOf(ToggleKeys, e.Key);
|
||||
|
Loading…
Reference in New Issue
Block a user