Skip to content

Commit

Permalink
v2: 2dcanvas widhth height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aamir1995 committed Sep 4, 2023
1 parent 669a273 commit ff65aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/src/components/Renderer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export default function Renderer({ canvasRef, canvas2DRef, previewCanvasRef, can
{editorConfig?.canvas2D && (
<canvas
ref={canvas2DRef}
// width={canvasDimensions.width}
// height={canvasDimensions.height}
width={canvasRef?.current?.width}
height={canvasRef?.current?.height}
style={{
pointerEvents: "none",
width: "100%",
Expand Down

0 comments on commit ff65aba

Please sign in to comment.