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:
commit
fb24e69d44
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user