chore: navigation reminder???
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user