chore: navigation reminder???

This commit is contained in:
karishmas6
2024-07-24 08:33:09 +05:30
parent 6e55f9e650
commit fb7dedbc0f

View File

@@ -45,6 +45,7 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
switch (event.type) {
case 'mousedown':
const clickCoordinates = getMappedCoordinates(event, canvasRef.current, width, height);
// needed for navigation
socket.emit('input:mousedown', clickCoordinates);
notifyLastAction('click');
break;