Define explicit method to add background

Also cleans up some redundant/misplaced comments.
This commit is contained in:
Dean Herbert
2019-03-20 20:12:46 +09:00
parent 8865d53992
commit ba89bfee0c
3 changed files with 19 additions and 12 deletions

View File

@ -85,7 +85,7 @@ namespace osu.Game.Screens.Backgrounds
}
b.Depth = newDepth;
fadeContainer.Add(Background = b);
fadeContainer.Background = Background = b;
StoryboardReplacesBackground.BindTo(fadeContainer.StoryboardReplacesBackground);
}