mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Ensure PlayerLoader
restores the background colour to its own value on resume
This commit is contained in:
parent
a7ef0173e9
commit
258d05d1e0
@ -184,8 +184,6 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
if (epilepsyWarning != null)
|
||||
epilepsyWarning.DimmableBackground = b;
|
||||
|
||||
b?.FadeColour(Color4.White, 800, Easing.OutQuint);
|
||||
});
|
||||
|
||||
Beatmap.Value.Track.AddAdjustment(AdjustableProperty.Volume, volumeAdjustment);
|
||||
@ -334,6 +332,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
content.FadeInFromZero(400);
|
||||
content.ScaleTo(1, 650, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
|
||||
|
||||
ApplyToBackground(b => b?.FadeColour(Color4.White, 800, Easing.OutQuint));
|
||||
}
|
||||
|
||||
private void contentOut()
|
||||
|
Loading…
Reference in New Issue
Block a user