1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:03:22 +08:00

fix formatting

This commit is contained in:
Wleter 2023-02-03 16:13:04 +01:00
parent 20e220df56
commit f7f13cb9d9

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)