mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix
This commit is contained in:
parent
59e8bf498d
commit
9c63b0124c
2 changed files with 2 additions and 3 deletions
|
@ -121,8 +121,8 @@ const restoreElementWithProperties = <
|
|||
y: extra.y ?? element.y ?? 0,
|
||||
strokeColor: element.strokeColor || oc.black,
|
||||
backgroundColor: element.backgroundColor || "transparent",
|
||||
width: element.width || 0,
|
||||
height: element.height || 0,
|
||||
width: element.width || 100,
|
||||
height: element.height || 100,
|
||||
seed: element.seed ?? 1,
|
||||
groupIds: element.groupIds ?? [],
|
||||
roundness: element.roundness
|
||||
|
|
|
@ -670,7 +670,6 @@ export const convertToExcalidrawElements = (
|
|||
const elements = bindTextToContainer(element, textElement);
|
||||
res.push(...elements);
|
||||
} else {
|
||||
delete element.children;
|
||||
//@ts-ignore
|
||||
res.push(element);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue