mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Check for roundness undefined
This commit is contained in:
parent
2f9526da24
commit
e163402e22
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ const restoreElementWithProperties = <
|
|||
seed: element.seed ?? 1,
|
||||
groupIds: element.groupIds ?? [],
|
||||
frameId: element.frameId ?? null,
|
||||
roundness: element.roundness
|
||||
roundness: typeof element.roundness !== "undefined"
|
||||
? element.roundness
|
||||
: element.strokeSharpness === "round"
|
||||
? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue