mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 05:20:27 +02:00
fix: mistakenly hardcoding scale (#2925)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user