rebased branch

This commit is contained in:
Israel Adura 2020-01-05 18:01:26 +00:00
parent 24c99c3e1c
commit bfcd33e6bb

View file

@ -626,7 +626,7 @@ function exportAsPNG({
}
);
saveFile("excalidraw.png", tempCanvas.toDataURL("image/png"));
saveFile(name, tempCanvas.toDataURL("image/png"));
// clean up the DOM
if (tempCanvas !== canvas) tempCanvas.remove();