1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:07:29 +08:00

remove fade

This commit is contained in:
Nathan Alo 2021-06-02 16:28:22 +08:00
parent e66f6e8f91
commit 3c3ef13632

View File

@ -21,14 +21,11 @@ namespace osu.Game.Graphics.Backgrounds
{
LoadComponentAsync(new DrawableStoryboard(Beatmap.Storyboard)
{
Alpha = 0,
Clock = new InterpolatingFramedClock(Beatmap.Track),
},
loaded =>
{
AddInternal(loaded);
loaded.FadeIn(300, Easing.OutQuint);
if (Beatmap.Storyboard.ReplacesBackground)
Sprite.FadeOut(300, Easing.OutQuint);
});