mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
Play out previous transforms immediately to avoid flow issues with multiple sub menus
This commit is contained in:
parent
7e59a1d0be
commit
8ad414488a
@ -338,6 +338,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
Logger.Log($"{nameof(ButtonSystem)}'s state changed from {lastState} to {state}");
|
Logger.Log($"{nameof(ButtonSystem)}'s state changed from {lastState} to {state}");
|
||||||
|
|
||||||
|
buttonArea.FinishTransforms(true);
|
||||||
|
|
||||||
using (buttonArea.BeginDelayedSequence(lastState == ButtonSystemState.Initial ? 150 : 0))
|
using (buttonArea.BeginDelayedSequence(lastState == ButtonSystemState.Initial ? 150 : 0))
|
||||||
{
|
{
|
||||||
buttonArea.ButtonSystemState = state;
|
buttonArea.ButtonSystemState = state;
|
||||||
|
Loading…
Reference in New Issue
Block a user