mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 14:10:33 +08:00
Merge pull request #33047 from peppy/song-select-transition-update
Adjust song select beatmap background transition to better support transparent backgrounds
This commit is contained in:
@@ -108,12 +108,14 @@ namespace osu.Game.Screens.Backgrounds
|
||||
if (Background != null)
|
||||
{
|
||||
newDepth = Background.Depth + 1;
|
||||
Background.FinishTransforms();
|
||||
Background.FadeOut(250);
|
||||
Background.Expire();
|
||||
}
|
||||
|
||||
b.Depth = newDepth;
|
||||
b.Anchor = b.Origin = Anchor.Centre;
|
||||
b.FadeInFromZero(500, Easing.OutQuint);
|
||||
b.ScaleTo(1.02f).ScaleTo(1, 3500, Easing.OutQuint);
|
||||
dimmable.Background = Background = b;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user