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:
parent
9e52f9c858
commit
abf1afd3f1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user