mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 09:33:21 +08:00
call builder finish before ending curve
This commit is contained in:
parent
bcf2effae9
commit
ca55a7b2bf
@ -197,7 +197,11 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
base.OnDragEnd(e);
|
base.OnDragEnd(e);
|
||||||
|
|
||||||
if (state == SliderPlacementState.Drawing)
|
if (state == SliderPlacementState.Drawing)
|
||||||
|
{
|
||||||
|
bSplineBuilder.Finish();
|
||||||
|
updateSliderPathFromBSplineBuilder();
|
||||||
endCurve();
|
endCurve();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnMouseUp(MouseUpEvent e)
|
protected override void OnMouseUp(MouseUpEvent e)
|
||||||
|
Loading…
Reference in New Issue
Block a user