mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
fix wrong path type being displayed
This commit is contained in:
parent
39908f5425
commit
83e108071a
@ -267,6 +267,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
segmentStart.Type = PathType.BEZIER;
|
segmentStart.Type = PathType.BEZIER;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
controlPointVisualiser.EnsureValidPathTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateCursor()
|
private void updateCursor()
|
||||||
@ -316,8 +318,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
|
|
||||||
private void updateSlider()
|
private void updateSlider()
|
||||||
{
|
{
|
||||||
controlPointVisualiser.EnsureValidPathTypes();
|
|
||||||
|
|
||||||
if (state == SliderPlacementState.Drawing)
|
if (state == SliderPlacementState.Drawing)
|
||||||
HitObject.Path.ExpectedDistance.Value = (float)HitObject.Path.CalculatedDistance;
|
HitObject.Path.ExpectedDistance.Value = (float)HitObject.Path.CalculatedDistance;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user