From 87a1fab4a9efc92dccc43feda55d509003b0f4bb Mon Sep 17 00:00:00 2001 From: av8ta Date: Mon, 3 Jun 2024 16:26:54 +0800 Subject: [PATCH] remove unnecessary logging --- applications/web/src/components/tools/NewLine.svelte | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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}) {