Skip to content

Commit 3fcd9cf

Browse files
fix
1 parent 83976d7 commit 3fcd9cf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/Board/Board.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,12 +1085,6 @@ const Board = React.forwardRef<BoardActions, BoardProps>(
10851085
const relativeX = (pointer.x - imageLeft) / currentScaleRatio;
10861086
const relativeY = (pointer.y - imageTop) / currentScaleRatio;
10871087

1088-
console.log(
1089-
"Pointer relative to image top-left:",
1090-
relativeX,
1091-
relativeY,
1092-
);
1093-
10941088
// Update the last pointer position with coordinates relative to the image
10951089
setLastPointerPosition({ x: relativeX, y: relativeY });
10961090
if (this.isDragging) {

0 commit comments

Comments
 (0)