Handle scaling a slider below minimum length

This commit is contained in:
Dean Herbert 2021-04-16 15:23:27 +09:00
parent 89373638be
commit ff408b852e
1 changed files with 1 additions and 1 deletions

View File

@ -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)