mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Proxying isn't needed anymore
This commit is contained in:
parent
78441c05cb
commit
d0b177e233
@ -155,12 +155,6 @@ namespace osu.Game.Screens.Play
|
|||||||
userAudioOffset.ValueChanged += v => offsetClock.Offset = v;
|
userAudioOffset.ValueChanged += v => offsetClock.Offset = v;
|
||||||
userAudioOffset.TriggerChange();
|
userAudioOffset.TriggerChange();
|
||||||
|
|
||||||
// We want the cursor to be above everything (including the skip button), but still be able to be controlled
|
|
||||||
// by the ruleset's input manager and replay, so we need to proxy it out from the ruleset container
|
|
||||||
var cursorProxyContainer = new Container { RelativeSizeAxes = Axes.Both };
|
|
||||||
if (RulesetContainer.Cursor != null)
|
|
||||||
cursorProxyContainer.Add(RulesetContainer.Cursor.CreateProxy());
|
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
storyboardContainer = new Container
|
storyboardContainer = new Container
|
||||||
@ -203,8 +197,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Clock = decoupledClock,
|
Clock = decoupledClock,
|
||||||
Breaks = beatmap.Breaks
|
Breaks = beatmap.Breaks
|
||||||
},
|
}
|
||||||
cursorProxyContainer
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
failOverlay = new FailOverlay
|
failOverlay = new FailOverlay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user