mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +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)
|
protected override bool OnKeyDown(KeyDownEvent e)
|
||||||
{
|
{
|
||||||
|
if (e.ControlPressed) return false;
|
||||||
|
|
||||||
if (ToggleKeys != null)
|
if (ToggleKeys != null)
|
||||||
{
|
{
|
||||||
var index = Array.IndexOf(ToggleKeys, e.Key);
|
var index = Array.IndexOf(ToggleKeys, e.Key);
|
||||||
|
Loading…
Reference in New Issue
Block a user