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:
Dean Herbert 2020-11-10 17:57:57 +09:00
parent 86026ad98f
commit 28daff1716
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ public IEnumerable<Mod> Mods
protected override bool OnKeyDown(KeyDownEvent e)
{
if (e.ControlPressed) return false;
if (ToggleKeys != null)
{
var index = Array.IndexOf(ToggleKeys, e.Key);