mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 11:47:24 +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:
|
case GlobalAction.Back:
|
||||||
if (!pendingAnimation)
|
if (!pendingAnimation)
|
||||||
BeginConfirm();
|
Confirm();
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case GlobalAction.PauseGameplay:
|
case GlobalAction.PauseGameplay:
|
||||||
@ -307,7 +307,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
if (ReplayLoaded.Value) return false;
|
if (ReplayLoaded.Value) return false;
|
||||||
|
|
||||||
if (!pendingAnimation)
|
if (!pendingAnimation)
|
||||||
BeginConfirm();
|
Confirm();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user