mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 13:42:56 +08:00
Clarify criteria of grid spacing subdivision
This commit is contained in:
parent
0a5a463380
commit
fe10621771
@ -107,6 +107,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
}
|
||||
|
||||
// Divide the distance so that there is a good density of grid lines.
|
||||
// This matches the maximum grid size of the grid size cycling hotkey.
|
||||
float dist = Vector2.Distance(point1, point2);
|
||||
while (dist >= max_automatic_spacing)
|
||||
dist /= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user