More formatting fixes

This commit is contained in:
Dean Herbert
2019-02-28 20:30:23 +09:00
parent 86913e720f
commit 53eb0e7e4e
2 changed files with 15 additions and 12 deletions

View File

@ -359,6 +359,7 @@ namespace osu.Game.Screens.Play
Background.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
StoryboardContainer.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
storyboardReplacesBackground.Value = Beatmap.Value.Storyboard.ReplacesBackground && Beatmap.Value.Storyboard.HasDrawable;
Task.Run(() =>
@ -417,6 +418,7 @@ namespace osu.Game.Screens.Play
{
float fadeOutDuration = instant ? 0 : 250;
this.FadeOut(fadeOutDuration);
Background.EnableUserDim.Value = false;
storyboardReplacesBackground.Value = false;
}