Update in-line with framework changes

This commit is contained in:
smoogipoo
2017-11-09 17:04:04 +09:00
parent 348083f589
commit 66ee9d1631
3 changed files with 8 additions and 6 deletions

View File

@ -25,8 +25,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
double transformTime = HitObject.StartTime - TIME_PREEMPT;
TransformStateTo(transformTime, true);
ClearTransformsAfter(transformTime, true);
base.ApplyTransformsAt(transformTime, true);
base.ClearTransformsAfter(transformTime, true);
using (BeginAbsoluteSequence(transformTime, true))
{
@ -46,6 +46,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
}
// Todo: At some point we need to move these to DrawableHitObject after ensuring that all other Rulesets apply
// transforms in the same way and don't rely on them not being cleared
public override void ClearTransformsAfter(double time, bool propagateChildren = false, string targetMember = null) { }
public override void ApplyTransformsAt(double time, bool propagateChildren = false) { }
private OsuInputManager osuActionInputManager;
internal OsuInputManager OsuActionInputManager => osuActionInputManager ?? (osuActionInputManager = GetContainingInputManager() as OsuInputManager);
}