From 23a8891e0ebcaff6a7fefa74d250dc347518b737 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Thu, 4 Feb 2021 16:52:00 +0100 Subject: [PATCH] fix: mistakenly hardcoding scale (#2925) --- src/scene/export.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/export.ts b/src/scene/export.ts index 4df019a1..2946b450 100644 --- a/src/scene/export.ts +++ b/src/scene/export.ts @@ -36,7 +36,7 @@ export const exportToCanvas = ( const tempCanvas = document.createElement("canvas"); tempCanvas.width = width * scale; tempCanvas.height = height * scale; - return { canvas: tempCanvas, scale: 1 }; + return { canvas: tempCanvas, scale }; }, ) => { const sceneElements = getElementsAndWatermark(elements, shouldAddWatermark);