Skip to content

Commit

Permalink
Merge pull request #236 from ewqazxc/main
Browse files Browse the repository at this point in the history
Fix fitWindow not finding element id
  • Loading branch information
1ilit authored Sep 17, 2024
2 parents f635d07 + 0231fd9 commit 5b01a89
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 @@ -532,6 +532,7 @@ export default function Canvas() {
</svg>
)}
<svg
id="diagram"
ref={canvasRef}
onPointerMove={handlePointerMove}
onPointerDown={handlePointerDown}
Expand Down

0 comments on commit 5b01a89

Please sign in to comment.