mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Handle control point deletion when the resulting slider would be too short to be useful
This commit is contained in:
parent
2949a6bbdc
commit
89373638be
@ -215,7 +215,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
}
|
||||
|
||||
// If there are 0 or 1 remaining control points, the slider is in a degenerate (single point) form and should be deleted
|
||||
if (controlPoints.Count <= 1)
|
||||
if (controlPoints.Count <= 1 || !slider.HitObject.Path.HasValidLength)
|
||||
{
|
||||
placementHandler?.Delete(HitObject);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user