mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: mistakenly hardcoding scale (#2925)
This commit is contained in:
parent
6c81a32d62
commit
23a8891e0e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export const exportToCanvas = (
|
||||||
const tempCanvas = document.createElement("canvas");
|
const tempCanvas = document.createElement("canvas");
|
||||||
tempCanvas.width = width * scale;
|
tempCanvas.width = width * scale;
|
||||||
tempCanvas.height = height * scale;
|
tempCanvas.height = height * scale;
|
||||||
return { canvas: tempCanvas, scale: 1 };
|
return { canvas: tempCanvas, scale };
|
||||||
},
|
},
|
||||||
) => {
|
) => {
|
||||||
const sceneElements = getElementsAndWatermark(elements, shouldAddWatermark);
|
const sceneElements = getElementsAndWatermark(elements, shouldAddWatermark);
|
||||||
|
|
Loading…
Add table
Reference in a new issue