mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-17 14:30:32 +02:00
Check for roundness undefined
This commit is contained in:
@@ -140,7 +140,7 @@ const restoreElementWithProperties = <
|
|||||||
seed: element.seed ?? 1,
|
seed: element.seed ?? 1,
|
||||||
groupIds: element.groupIds ?? [],
|
groupIds: element.groupIds ?? [],
|
||||||
frameId: element.frameId ?? null,
|
frameId: element.frameId ?? null,
|
||||||
roundness: element.roundness
|
roundness: typeof element.roundness !== "undefined"
|
||||||
? element.roundness
|
? element.roundness
|
||||||
: element.strokeSharpness === "round"
|
: element.strokeSharpness === "round"
|
||||||
? {
|
? {
|
||||||
|
Reference in New Issue
Block a user