mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 09:07:25 +08:00
Merge pull request #30309 from peppy/no-delay-on-pause
Remove hold-to-confirm delay when pausing using keyboard shortcuts
This commit is contained in:
commit
719a81575a
@ -299,7 +299,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
case GlobalAction.Back:
|
||||
if (!pendingAnimation)
|
||||
BeginConfirm();
|
||||
Confirm();
|
||||
return true;
|
||||
|
||||
case GlobalAction.PauseGameplay:
|
||||
@ -307,7 +307,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
if (ReplayLoaded.Value) return false;
|
||||
|
||||
if (!pendingAnimation)
|
||||
BeginConfirm();
|
||||
Confirm();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user