mirror of https://github.com/ppy/osu
Handle scaling a slider below minimum length
This commit is contained in:
parent
89373638be
commit
ff408b852e
|
@ -226,7 +226,7 @@ private void scaleSlider(Slider slider, Vector2 scale)
|
|||
Quad scaledQuad = getSurroundingQuad(new OsuHitObject[] { slider });
|
||||
(bool xInBounds, bool yInBounds) = isQuadInBounds(scaledQuad);
|
||||
|
||||
if (xInBounds && yInBounds)
|
||||
if (xInBounds && yInBounds && slider.Path.HasValidLength)
|
||||
return;
|
||||
|
||||
foreach (var point in slider.Path.ControlPoints)
|
||||
|
|
Loading…
Reference in New Issue