mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:53:23 +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;
|
float distance = diff.Length;
|
||||||
Vector2 direction = diff / distance;
|
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)
|
for (float d = interval; d < distance; d += interval)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user