mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-24 01:40:41 +02:00
fix
This commit is contained in:
@@ -121,8 +121,8 @@ const restoreElementWithProperties = <
|
|||||||
y: extra.y ?? element.y ?? 0,
|
y: extra.y ?? element.y ?? 0,
|
||||||
strokeColor: element.strokeColor || oc.black,
|
strokeColor: element.strokeColor || oc.black,
|
||||||
backgroundColor: element.backgroundColor || "transparent",
|
backgroundColor: element.backgroundColor || "transparent",
|
||||||
width: element.width || 0,
|
width: element.width || 100,
|
||||||
height: element.height || 0,
|
height: element.height || 100,
|
||||||
seed: element.seed ?? 1,
|
seed: element.seed ?? 1,
|
||||||
groupIds: element.groupIds ?? [],
|
groupIds: element.groupIds ?? [],
|
||||||
roundness: element.roundness
|
roundness: element.roundness
|
||||||
|
@@ -670,7 +670,6 @@ export const convertToExcalidrawElements = (
|
|||||||
const elements = bindTextToContainer(element, textElement);
|
const elements = bindTextToContainer(element, textElement);
|
||||||
res.push(...elements);
|
res.push(...elements);
|
||||||
} else {
|
} else {
|
||||||
delete element.children;
|
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
res.push(element);
|
res.push(element);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user