Skip to content

Commit

Permalink
remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
av8ta committed Jun 3, 2024
1 parent 1778b61 commit 87a1fab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions applications/web/src/components/tools/NewLine.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down

0 comments on commit 87a1fab

Please sign in to comment.