diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index f397d0c3d4..4a46279d30 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -162,7 +162,7 @@ namespace osu.Game.Screens.Play hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused; }, OnResume = () => hudOverlay.KeyCounter.IsCounting = true, - Children = new Drawable[] + Children = new[] { storyboardContainer = new Container { @@ -174,12 +174,12 @@ namespace osu.Game.Screens.Play RelativeSizeAxes = Axes.Both, Child = RulesetContainer }, - new SkipOverlay(firstObjectTime) + new BreakOverlay(beatmap.BeatmapInfo.LetterboxInBreaks, scoreProcessor) { - Clock = Clock, // skip button doesn't want to use the audio clock directly + Anchor = Anchor.Centre, + Origin = Anchor.Centre, ProcessCustomClock = false, - AdjustableClock = adjustableClock, - FramedClock = offsetClock, + Breaks = beatmap.Breaks }, hudOverlay = new HUDOverlay(scoreProcessor, RulesetContainer, working, offsetClock, adjustableClock) { @@ -188,13 +188,14 @@ namespace osu.Game.Screens.Play Anchor = Anchor.Centre, Origin = Anchor.Centre }, - new BreakOverlay(beatmap.BeatmapInfo.LetterboxInBreaks, scoreProcessor) + RulesetContainer.Cursor?.CreateProxy() ?? new Container(), + new SkipOverlay(firstObjectTime) { - Anchor = Anchor.Centre, - Origin = Anchor.Centre, + Clock = Clock, // skip button doesn't want to use the audio clock directly ProcessCustomClock = false, - Breaks = beatmap.Breaks - } + AdjustableClock = adjustableClock, + FramedClock = offsetClock, + }, } }, failOverlay = new FailOverlay