mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-20 04:34:20 +01:00
feat: support supplying custom scale when exporting canvas (#2904)
This commit is contained in:
@@ -36,7 +36,7 @@ export const exportToCanvas = ({
|
||||
canvas.width = ret.width;
|
||||
canvas.height = ret.height;
|
||||
|
||||
return canvas;
|
||||
return { canvas, scale: ret.scale };
|
||||
},
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user