1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

fix wrong path type being displayed

This commit is contained in:
OliBomby 2024-01-13 22:51:33 +01:00
parent 39908f5425
commit 83e108071a

View File

@ -267,6 +267,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
segmentStart.Type = PathType.BEZIER;
break;
}
controlPointVisualiser.EnsureValidPathTypes();
}
private void updateCursor()
@ -316,8 +318,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
private void updateSlider()
{
controlPointVisualiser.EnsureValidPathTypes();
if (state == SliderPlacementState.Drawing)
HitObject.Path.ExpectedDistance.Value = (float)HitObject.Path.CalculatedDistance;
else