Skip to content

Commit

Permalink
Fix fitWindow not finding element id
Browse files Browse the repository at this point in the history
  • Loading branch information
ewqazxc committed Sep 4, 2024
1 parent 7b9d9c2 commit 0231fd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/EditorCanvas/Canvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ export default function Canvas() {
</svg>
)}
<svg
id="diagram"
ref={canvasRef}
onPointerMove={handlePointerMove}
onPointerDown={handlePointerDown}
Expand Down

0 comments on commit 0231fd9

Please sign in to comment.