mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 13:22:57 +08: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