mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Stop mod select overlay hotkeys handling input when control is pressed
Closes https://github.com/ppy/osu/issues/10766 in about the best way we can for now.
This commit is contained in:
parent
86026ad98f
commit
28daff1716
@ -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