Remove stored hitobject references from skinnable components

This commit is contained in:
smoogipoo
2020-11-05 14:40:48 +09:00
parent 9a7fcadabc
commit 400fcedf0f
13 changed files with 65 additions and 69 deletions

View File

@ -54,7 +54,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
Children = new Drawable[]
{
new SkinnableDrawable(new OsuSkinComponent(OsuSkinComponents.SpinnerBody), _ => new DefaultSpinnerDisc()),
RotationTracker = new SpinnerRotationTracker(HitObject)
RotationTracker = new SpinnerRotationTracker(this)
}
},
SpmCounter = new SpinnerSpmCounter