mirror of
https://github.com/ppy/osu
synced 2025-01-31 10:22:02 +00:00
Proxy the ruleset cursor above the break overlay
This commit is contained in:
parent
43409127b7
commit
64fba5f6d1
@ -149,6 +149,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
scoreProcessor = RulesetContainer.CreateScoreProcessor();
|
||||
|
||||
Drawable rulesetCursor = RulesetContainer.Cursor?.CreateProxy() ?? new Container();
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
pauseContainer = new PauseContainer(offsetClock, adjustableClock)
|
||||
@ -162,7 +164,7 @@ namespace osu.Game.Screens.Play
|
||||
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
|
||||
},
|
||||
OnResume = () => hudOverlay.KeyCounter.IsCounting = true,
|
||||
Children = new Drawable[]
|
||||
Children = new[]
|
||||
{
|
||||
storyboardContainer = new Container
|
||||
{
|
||||
@ -181,6 +183,7 @@ namespace osu.Game.Screens.Play
|
||||
ProcessCustomClock = false,
|
||||
Breaks = beatmap.Breaks
|
||||
},
|
||||
rulesetCursor,
|
||||
new SkipOverlay(firstObjectTime)
|
||||
{
|
||||
Clock = Clock, // skip button doesn't want to use the audio clock directly
|
||||
|
Loading…
Reference in New Issue
Block a user