mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Bind UserDimContainer.IsBreakTime from Player
This commit is contained in:
parent
bb078c2afc
commit
38f1a8bc17
@ -140,6 +140,11 @@ namespace osu.Game.Screens.Play
|
||||
// bind clock into components that require it
|
||||
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
|
||||
ScoreProcessor.AllJudged += onCompletion;
|
||||
ScoreProcessor.Failed += onFail;
|
||||
|
Loading…
Reference in New Issue
Block a user