1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 19:00:09 +08:00

Merge pull request #867 from smoogipooo/fix-direct-hotkey

Fix osu!direct hotkey overriding drawings hotkey (for now).
This commit is contained in:
Dean Herbert
2017-05-28 22:56:04 +09:00
committed by GitHub
Unverified
+3
View File
@@ -255,6 +255,9 @@ namespace osu.Game
settings.ToggleVisibility();
return true;
case Key.D:
if (state.Keyboard.ShiftPressed || state.Keyboard.AltPressed)
return false;
direct.ToggleVisibility();
return true;
}