diff --git a/src/components/atoms/canvas.tsx b/src/components/atoms/canvas.tsx index cbef98c2..cd0e2323 100644 --- a/src/components/atoms/canvas.tsx +++ b/src/components/atoms/canvas.tsx @@ -53,8 +53,8 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => { switch (event.type) { case 'mousedown': const clickCoordinates = getMappedCoordinates(event, canvasRef.current, width, height); - if (getTextRef.current === true) { - console.log('get text') + if (getTextRef.current === true || getListRef.current === true) { + console.log('get text or get list is true'); } else { socket.emit('input:mousedown', clickCoordinates); }