mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Adapt signature change of event handlers
This commit is contained in:
@ -201,7 +201,8 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (!e.Repeat && state.Keyboard.ControlPressed && state.Keyboard.ShiftPressed && e.Key == Key.D)
|
||||
var keyboard = e.CurrentState.Keyboard;
|
||||
if (!e.Repeat && keyboard.ControlPressed && keyboard.ShiftPressed && e.Key == Key.D)
|
||||
{
|
||||
Push(new Drawings());
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user