1
0
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:
Naxess 2021-04-12 19:18:22 +02:00
parent 3fd3f36895
commit d9e3276d0e

View File

@ -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());