1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 21:52:57 +08:00
Files
osu-lazer/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders
T
Bartłomiej Dach 9b2f25cb93 Fix crashes when attempting to adjust length of slider whose maximum path length is less than the current beat snap
Closes https://github.com/ppy/osu/issues/32289.

There are two possible choices here: either pulling the lower bound of
the clamp down to `HitObject.Path.CalculatedDistance`, or pulling the
higher bound up to `minDistance`, if it happens to be larger than the
path's calculated distance.

Both options are a bit weird; pulling down can result in unsnapped
sliders when attempting to drag a slider's end when on a lower beat
divisor than was used to place the slider, and pulling up can result in
weird sliders wherein they get extended beyond their path's definition
with a weird linear section at the end without an anchor that is tangent
to the slider shape's end. I decided the first one was less weird, but
I'm open to discuss further.
9b2f25cb93 · 2025-05-14 13:34:12 +02:00
History
..