Change order of OnParentReceived()

This commit is contained in:
smoogipoo
2020-12-03 19:46:42 +09:00
parent a5bb194cb8
commit 73e99718bc
8 changed files with 38 additions and 8 deletions

View File

@ -65,6 +65,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
base.OnParentReceived(parent);
drawableSlider = (DrawableSlider)parent;
}
protected override void OnApply()
{
base.OnApply();
Position = HitObject.Position - drawableSlider.Position;
}