mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 19:42:56 +08:00
Fixed repeat keys working for resuming
This commit is contained in:
parent
8cad09370d
commit
348dd71406
@ -20,6 +20,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
if (args.Key == Key.Escape)
|
||||
{
|
||||
if (State == Visibility.Hidden) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user