Fix moving tables not working in simple canvas
This commit is contained in:
parent
d38713eaa0
commit
faf4b157ff
@ -199,7 +199,7 @@ export default function SimpleCanvas({ diagram, zoom }) {
|
|||||||
<svg
|
<svg
|
||||||
className="w-full h-full cursor-grab"
|
className="w-full h-full cursor-grab"
|
||||||
onPointerUp={(e) => e.isPrimary && releaseTable()}
|
onPointerUp={(e) => e.isPrimary && releaseTable()}
|
||||||
onPointerMove={(e) => e.isPrimary && moveTable()}
|
onPointerMove={(e) => e.isPrimary && moveTable(e)}
|
||||||
onPointerLeave={(e) => e.isPrimary && releaseTable()}
|
onPointerLeave={(e) => e.isPrimary && releaseTable()}
|
||||||
>
|
>
|
||||||
<defs>
|
<defs>
|
||||||
|
Loading…
Reference in New Issue
Block a user