fix: mistakenly hardcoding scale (#2925)
This commit is contained in:
parent
6c81a32d62
commit
23a8891e0e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user