1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 20:22:55 +08:00

Play out previous transforms immediately to avoid flow issues with multiple sub menus

This commit is contained in:
Dean Herbert 2023-11-24 11:02:30 +09:00
parent 7e59a1d0be
commit 8ad414488a
No known key found for this signature in database

View File

@ -338,6 +338,8 @@ namespace osu.Game.Screens.Menu
Logger.Log($"{nameof(ButtonSystem)}'s state changed from {lastState} to {state}");
buttonArea.FinishTransforms(true);
using (buttonArea.BeginDelayedSequence(lastState == ButtonSystemState.Initial ? 150 : 0))
{
buttonArea.ButtonSystemState = state;