mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Bind UserDimContainer.IsBreakTime from Player
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user