mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 07:27:33 +08:00
fix distance
This commit is contained in:
parent
b54c9a36fe
commit
f8979cff3a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user