mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
Check for roundness undefined
This commit is contained in:
@ -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"
|
||||
? {
|
||||
|
Reference in New Issue
Block a user