mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix api and support individual shapes and text element
This commit is contained in:
parent
acde193a64
commit
32aaa8b95d
5 changed files with 53 additions and 24 deletions
|
@ -122,8 +122,8 @@ const restoreElementWithProperties = <
|
|||
y: extra.y ?? element.y ?? 0,
|
||||
strokeColor: element.strokeColor || oc.black,
|
||||
backgroundColor: element.backgroundColor || "transparent",
|
||||
width: element.width || 100,
|
||||
height: element.height || 100,
|
||||
width: element.width,
|
||||
height: element.height,
|
||||
seed: element.seed ?? 1,
|
||||
groupIds: element.groupIds ?? [],
|
||||
roundness: element.roundness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue