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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user