1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 14:37:30 +08:00

Remove hold-to-confirm delay when pausing using keyboard shortcuts

This commit is contained in:
Dean Herbert 2024-10-16 20:16:10 +09:00
parent 4fa101d935
commit b29a17364d
No known key found for this signature in database

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