mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 21:52:54 +08:00
Reset child anchor position cache on hitobject position change
This commit is contained in:
parent
dc31c66f62
commit
962c8ba4ac
@ -121,7 +121,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
PositionBindable.BindValueChanged(_ => Position = HitObject.StackedPosition);
|
PositionBindable.BindValueChanged(_ =>
|
||||||
|
{
|
||||||
|
Position = HitObject.StackedPosition;
|
||||||
|
childAnchorPosition = null;
|
||||||
|
});
|
||||||
StackHeightBindable.BindValueChanged(_ => Position = HitObject.StackedPosition);
|
StackHeightBindable.BindValueChanged(_ => Position = HitObject.StackedPosition);
|
||||||
ScaleBindable.BindValueChanged(scale => Ball.Scale = new Vector2(scale.NewValue));
|
ScaleBindable.BindValueChanged(scale => Ball.Scale = new Vector2(scale.NewValue));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user