1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 05:53:20 +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
commit fb24e69d44

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;
} }