Check for roundness undefined
This commit is contained in:
parent
2f9526da24
commit
e163402e22
@ -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"
|
||||||
? {
|
? {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user