mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Avoid drawing segments of cursor trail near current cursor position
This commit is contained in:
parent
4fb6f5c5ed
commit
314c342841
@ -172,7 +172,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
|
||||
float interval = partSize.X / 2.5f * IntervalMultiplier;
|
||||
|
||||
for (float d = interval; d < distance; d += interval)
|
||||
for (float d = interval; d < distance - interval; d += interval)
|
||||
{
|
||||
lastPosition = pos1 + direction * d;
|
||||
addPart(lastPosition.Value);
|
||||
|
Loading…
Reference in New Issue
Block a user