Fix potential cross-thread drawable mutation in IntroTriangles

This commit is contained in:
Dean Herbert
2021-03-08 13:29:09 +09:00
parent b241749119
commit 74fc5d5b8c
2 changed files with 5 additions and 2 deletions

View File

@ -170,7 +170,7 @@ namespace osu.Game.Screens.Menu
rulesets.Hide();
lazerLogo.Hide();
background.Hide();
background.ApplyToBackground(b => b.Hide());
using (BeginAbsoluteSequence(0, true))
{
@ -231,7 +231,8 @@ namespace osu.Game.Screens.Menu
lazerLogo.Dispose(); // explicit disposal as we are pushing a new screen and the expire may not get run.
logo.FadeIn();
background.FadeIn();
background.ApplyToBackground(b => b.Show());
game.Add(new GameWideFlash());