mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:26:07 +08:00
Only update slider selection blueprints paths when visible
This commit is contained in:
parent
beec0e4193
commit
34d1439f8e
@ -66,12 +66,15 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
|
||||
pathVersion = HitObject.Path.Version.GetBoundCopy();
|
||||
pathVersion.BindValueChanged(_ => updatePath());
|
||||
|
||||
BodyPiece.UpdateFrom(HitObject);
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (IsSelected)
|
||||
BodyPiece.UpdateFrom(HitObject);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user