1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Fix osu!direct hotkey overriding drawings hotkey (for now).

This commit is contained in:
smoogipooo 2017-05-27 20:22:19 +09:00
parent e67a00f1f6
commit 330bd4e11d

View File

@ -255,6 +255,9 @@ namespace osu.Game
settings.ToggleVisibility(); settings.ToggleVisibility();
return true; return true;
case Key.D: case Key.D:
if (state.Keyboard.ShiftPressed || state.Keyboard.AltPressed)
return false;
direct.ToggleVisibility(); direct.ToggleVisibility();
return true; return true;
} }