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

Schedule resume operation by one frame to ensure the triggered key down event does not cause a gameplay press

This commit is contained in:
Salman Ahmed 2024-07-19 16:52:48 +03:00
parent d7651ef387
commit 4f6c7fe7c3

View File

@ -116,7 +116,7 @@ namespace osu.Game.Rulesets.Osu.UI
scaleTransitionContainer.ScaleTo(2, TRANSITION_TIME, Easing.OutQuint);
ResumeRequested?.Invoke();
Schedule(() => ResumeRequested?.Invoke());
return true;
}