mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Avoid drawing segments of cursor trail near current cursor position
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user