1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Move load() to below ctor()

This commit is contained in:
smoogipoo 2019-10-16 21:41:18 +09:00
parent 388b71cf64
commit 4ac2e1c58e

View File

@ -94,13 +94,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}
}
protected override void UpdateInitialTransforms()
{
base.UpdateInitialTransforms();
Body.FadeInFromZero(HitObject.TimeFadeIn);
}
[BackgroundDependencyLoader]
private void load()
{
@ -129,6 +122,13 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}, true);
}
protected override void UpdateInitialTransforms()
{
base.UpdateInitialTransforms();
Body.FadeInFromZero(HitObject.TimeFadeIn);
}
public readonly Bindable<bool> Tracking = new Bindable<bool>();
protected override void Update()