mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +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);
|
||||
ScaleBindable.BindValueChanged(scale => Ball.Scale = new Vector2(scale.NewValue));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user