1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Do not decrease density

This commit is contained in:
Endrik Tombak 2020-10-01 23:27:57 +03:00
parent 9e52f9c858
commit abf1afd3f1

View File

@ -151,7 +151,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
float distance = diff.Length;
Vector2 direction = diff / distance;
float interval = partSize.X / 2.5f / cursorSize.Value;
float interval = partSize.X / 2.5f / Math.Max(cursorSize.Value, 1);
for (float d = interval; d < distance; d += interval)
{