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

Add safety to ensure background is correct tint when entering gameplay

This commit is contained in:
Dean Herbert 2021-06-09 17:07:28 +09:00
parent 50eb58ecd3
commit a7ef0173e9

View File

@ -32,6 +32,7 @@ using osu.Game.Scoring.Legacy;
using osu.Game.Screens.Ranking; using osu.Game.Screens.Ranking;
using osu.Game.Skinning; using osu.Game.Skinning;
using osu.Game.Users; using osu.Game.Users;
using osuTK.Graphics;
namespace osu.Game.Screens.Play namespace osu.Game.Screens.Play
{ {
@ -856,6 +857,7 @@ namespace osu.Game.Screens.Play
{ {
b.IgnoreUserSettings.Value = false; b.IgnoreUserSettings.Value = false;
b.BlurAmount.Value = 0; b.BlurAmount.Value = 0;
b.FadeColour(Color4.White, 250);
// bind component bindables. // bind component bindables.
b.IsBreakTime.BindTo(breakTracker.IsBreakTime); b.IsBreakTime.BindTo(breakTracker.IsBreakTime);