Compare commits

...

1 Commits

Author SHA1 Message Date
zsviczian
e163402e22
Check for roundness undefined 2024-05-20 08:22:00 +02:00

View File

@ -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"
? { ? {