mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +08:00
Don't update path type once immediately
This commit is contained in:
parent
3fd3f36895
commit
d9e3276d0e
@ -58,12 +58,13 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
{
|
||||
this.slider = slider;
|
||||
ControlPoint = controlPoint;
|
||||
PointsInSegment = slider.Path.PointsInSegment(ControlPoint);
|
||||
|
||||
slider.Path.Version.BindValueChanged(_ =>
|
||||
{
|
||||
PointsInSegment = slider.Path.PointsInSegment(ControlPoint);
|
||||
updatePathType();
|
||||
}, runOnceImmediately: true);
|
||||
});
|
||||
|
||||
controlPoint.Type.BindValueChanged(_ => updateMarkerDisplay());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user