diff --git a/applications/web/src/components/tools/NewLine.svelte b/applications/web/src/components/tools/NewLine.svelte index 37abceed..fd809ed2 100644 --- a/applications/web/src/components/tools/NewLine.svelte +++ b/applications/web/src/components/tools/NewLine.svelte @@ -49,10 +49,8 @@ } export function click(_event: Event, projected: Point) { - if ($snapPoints.length > 0) { - log("[click] [snapPoints]", $snapPoints) - processPoint($snapPoints[0]) - } else processPoint({twoD: projected.twoD, threeD: projected.threeD, id: null}) + if ($snapPoints.length > 0) processPoint($snapPoints[0]) + else processPoint({twoD: projected.twoD, threeD: projected.threeD, id: null}) } export function mouseMove(_event: Event, projected: {x: number; y: number}) {