mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
Fix moving tables not working in simple canvas
This commit is contained in:
@@ -199,7 +199,7 @@ export default function SimpleCanvas({ diagram, zoom }) {
|
||||
<svg
|
||||
className="w-full h-full cursor-grab"
|
||||
onPointerUp={(e) => e.isPrimary && releaseTable()}
|
||||
onPointerMove={(e) => e.isPrimary && moveTable()}
|
||||
onPointerMove={(e) => e.isPrimary && moveTable(e)}
|
||||
onPointerLeave={(e) => e.isPrimary && releaseTable()}
|
||||
>
|
||||
<defs>
|
||||
|
Reference in New Issue
Block a user