From e094eefafb9066024e10f285efb794c21d416567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Fri, 19 Dec 2025 14:26:31 +0100 Subject: [PATCH] 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. --- osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs b/osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs index fc5ad2d955..c52bc92f83 100644 --- a/osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs +++ b/osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs @@ -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)