1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 04:49:58 +08:00

Fix cursor scale affecting trail spacing

Closes https://github.com/ppy/osu/issues/36061.

Regressed in https://github.com/ppy/osu/pull/35802.

It's either this or revert of aforementioned pull. I dunno.
This commit is contained in:
Bartłomiej Dach
2025-12-19 14:26:31 +01:00
Unverified
parent 6de1f0cd4d
commit e094eefafb
@@ -198,7 +198,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
float distance = diff.Length;
Vector2 direction = diff / distance;
float interval = Texture.DisplayWidth / 2.5f * IntervalMultiplier;
float interval = Texture.DisplayWidth * CursorScale.X / 2.5f * IntervalMultiplier;
float stopAt = distance - (AvoidDrawingNearCursor ? interval : 0);
for (float d = interval; d < stopAt; d += interval)