mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
rebased branch
This commit is contained in:
parent
24c99c3e1c
commit
bfcd33e6bb
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ function exportAsPNG({
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
saveFile("excalidraw.png", tempCanvas.toDataURL("image/png"));
|
saveFile(name, tempCanvas.toDataURL("image/png"));
|
||||||
|
|
||||||
// clean up the DOM
|
// clean up the DOM
|
||||||
if (tempCanvas !== canvas) tempCanvas.remove();
|
if (tempCanvas !== canvas) tempCanvas.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue