mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Use UIEvent level getters for modifier keys.
This commit is contained in:
@ -183,7 +183,7 @@ namespace osu.Game.Overlays
|
||||
|
||||
protected override void OnFocusLost(FocusLostEvent e)
|
||||
{
|
||||
if (e.CurrentState.Keyboard.IsPressed(Key.Escape)) dismiss();
|
||||
if (e.CurrentState.Keyboard.Keys.IsPressed(Key.Escape)) dismiss();
|
||||
}
|
||||
|
||||
private const double initial_duration = 400;
|
||||
|
Reference in New Issue
Block a user