1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 18:32:56 +08:00

fix spaces

This commit is contained in:
Wleter 2023-02-03 16:13:37 +01:00
parent f7f13cb9d9
commit 60f6484073

View File

@ -191,7 +191,7 @@ namespace osu.Game.Rulesets.Osu.Edit
if (!snapPositions.Any())
continue;
var closestSnapPosition = snapPositions.MinBy(p => Vector2.Distance(p, screenSpacePosition));
if (Vector2.Distance(closestSnapPosition, screenSpacePosition) < snapRadius)