mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Fix failing tests
This commit is contained in:
parent
63f66aa5fa
commit
53daa37eaa
@ -140,11 +140,6 @@ namespace osu.Game.Screens.Play
|
|||||||
// bind clock into components that require it
|
// bind clock into components that require it
|
||||||
DrawableRuleset.IsPaused.BindTo(GameplayClockContainer.IsPaused);
|
DrawableRuleset.IsPaused.BindTo(GameplayClockContainer.IsPaused);
|
||||||
|
|
||||||
// bind break into components that require it.
|
|
||||||
Background.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
|
||||||
DimmableStoryboard.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
|
||||||
DimmableVideo.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
|
||||||
|
|
||||||
// Bind ScoreProcessor to ourselves
|
// Bind ScoreProcessor to ourselves
|
||||||
ScoreProcessor.AllJudged += onCompletion;
|
ScoreProcessor.AllJudged += onCompletion;
|
||||||
ScoreProcessor.Failed += onFail;
|
ScoreProcessor.Failed += onFail;
|
||||||
@ -506,6 +501,11 @@ namespace osu.Game.Screens.Play
|
|||||||
Background.EnableUserDim.Value = true;
|
Background.EnableUserDim.Value = true;
|
||||||
Background.BlurAmount.Value = 0;
|
Background.BlurAmount.Value = 0;
|
||||||
|
|
||||||
|
// bind component bindables.
|
||||||
|
Background.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
||||||
|
DimmableStoryboard.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
||||||
|
DimmableVideo.IsBreakTime.BindTo(breakOverlay.IsBreakTime);
|
||||||
|
|
||||||
Background.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
|
Background.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
|
||||||
DimmableStoryboard.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
|
DimmableStoryboard.StoryboardReplacesBackground.BindTo(storyboardReplacesBackground);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user