mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: support supplying custom scale when exporting canvas (#2904)
This commit is contained in:
parent
e18e945cd3
commit
f0f5430313
2 changed files with 11 additions and 8 deletions
|
@ -36,7 +36,7 @@ export const exportToCanvas = ({
|
|||
canvas.width = ret.width;
|
||||
canvas.height = ret.height;
|
||||
|
||||
return canvas;
|
||||
return { canvas, scale: ret.scale };
|
||||
},
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue