mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Handle scaling a slider below minimum length
This commit is contained in:
parent
89373638be
commit
ff408b852e
@ -226,7 +226,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
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
Block a user