mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Use UIEvent level getters for modifier keys.
This commit is contained in:
@ -201,8 +201,7 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
var keyboard = e.CurrentState.Keyboard;
|
||||
if (!e.Repeat && keyboard.ControlPressed && keyboard.ShiftPressed && e.Key == Key.D)
|
||||
if (!e.Repeat && e.ControlPressed && e.ShiftPressed && e.Key == Key.D)
|
||||
{
|
||||
Push(new Drawings());
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user