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

fix distance

This commit is contained in:
OliBomby 2024-01-01 16:14:20 +01:00
parent b54c9a36fe
commit f8979cff3a

View File

@ -110,7 +110,7 @@ namespace osu.Game.Rulesets.Osu.Edit
// Divide the distance so that there is a good density of grid lines.
float dist = Vector2.Distance(point1, point2);
while (dist > 32)
while (dist >= max_automatic_spacing)
dist /= 2;
Spacing.Value = dist;
}