1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Proxying isn't needed anymore

This commit is contained in:
smoogipoo 2018-01-12 19:50:09 +09:00
parent 78441c05cb
commit d0b177e233

View File

@ -155,12 +155,6 @@ namespace osu.Game.Screens.Play
userAudioOffset.ValueChanged += v => offsetClock.Offset = v;
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[]
{
storyboardContainer = new Container
@ -203,8 +197,7 @@ namespace osu.Game.Screens.Play
Origin = Anchor.Centre,
Clock = decoupledClock,
Breaks = beatmap.Breaks
},
cursorProxyContainer
}
}
},
failOverlay = new FailOverlay