fix: revert

This commit is contained in:
karishmas6
2024-07-29 16:40:20 +05:30
parent cd42c720a5
commit b6903aea60

View File

@@ -52,7 +52,7 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
case 'mousedown':
const clickCoordinates = getMappedCoordinates(event, canvasRef.current, width, height);
if (getTextRef.current === true) {
return;
console.log('get text')
} else {
socket.emit('input:mousedown', clickCoordinates);
}