1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-25 01:47:19 +08:00

Add initial fade in to the metadata display

Avoids first frame discrepancies from appearing in the test scene, those can be delt with later on, if needed.
This commit is contained in:
Salman Ahmed 2021-05-08 21:15:15 +03:00
parent c52f1733be
commit f701c331f2

View File

@ -30,8 +30,10 @@ namespace osu.Game.Tests.Visual.SongSelect
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Scale = new Vector2(1.5f),
Alpha = 0f,
});
AddStep("fade in", () => display.FadeIn(400, Easing.OutQuint));
AddToggleStep("trigger loading", v => display.Loading = v);
}