1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:34:09 +08:00

Fix unit tests

This commit is contained in:
David Zhao 2019-02-18 16:00:59 +09:00
parent 79b12ef085
commit 9be25c3758
2 changed files with 5 additions and 2 deletions

View File

@ -249,6 +249,7 @@ namespace osu.Game.Screens.Play
foreach (var mod in Beatmap.Value.Mods.Value.OfType<IApplicableToScoreProcessor>()) foreach (var mod in Beatmap.Value.Mods.Value.OfType<IApplicableToScoreProcessor>())
mod.ApplyToScoreProcessor(ScoreProcessor); mod.ApplyToScoreProcessor(ScoreProcessor);
if (Background != null)
Background.UpdateDim.Value = true; Background.UpdateDim.Value = true;
} }

View File

@ -242,6 +242,8 @@ namespace osu.Game.Screens.Play
content.ScaleTo(0.7f, 150, Easing.InQuint); content.ScaleTo(0.7f, 150, Easing.InQuint);
this.FadeOut(150); this.FadeOut(150);
cancelLoad(); cancelLoad();
if (Background != null)
Background.UpdateDim.Value = false; Background.UpdateDim.Value = false;
return base.OnExiting(next); return base.OnExiting(next);