Remove deleted elements from svg export (#1021)
* Remove deleted elements from svg export * skip deleted elements * remove old comment Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1546c00c0c
commit
0ad6f4ec6b
@ -291,8 +291,6 @@ export async function exportCanvas(
|
||||
if (!hasNonDeletedElements(elements)) {
|
||||
return window.alert(t("alerts.cannotExportEmptyCanvas"));
|
||||
}
|
||||
// calculate smallest area to fit the contents in
|
||||
|
||||
if (type === "svg") {
|
||||
const tempSvg = exportToSvg(elements, {
|
||||
exportBackground,
|
||||
|
Reference in New Issue
Block a user