|
@@ -291,8 +291,6 @@ export async function exportCanvas(
|
|
if (!hasNonDeletedElements(elements)) {
|
|
if (!hasNonDeletedElements(elements)) {
|
|
return window.alert(t("alerts.cannotExportEmptyCanvas"));
|
|
return window.alert(t("alerts.cannotExportEmptyCanvas"));
|
|
}
|
|
}
|
|
- // calculate smallest area to fit the contents in
|
|
|
|
-
|
|
|
|
if (type === "svg") {
|
|
if (type === "svg") {
|
|
const tempSvg = exportToSvg(elements, {
|
|
const tempSvg = exportToSvg(elements, {
|
|
exportBackground,
|
|
exportBackground,
|