1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 11: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:
Bartłomiej Dach 2024-10-16 15:04:29 +02:00 committed by GitHub
commit 719a81575a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}