From fe80aab394a394af9aa4d264b134fda83d4373b7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 7 Aug 2023 11:45:48 +0200 Subject: [PATCH] :bug: Allow nil values on bool content params --- common/src/app/common/types/shape.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index 8f297c481..7aea7983d 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -184,7 +184,8 @@ [:relative {:optional true} :boolean] [:prev-pos {:optional true} ::gpt/point] [:params {:optional true} - [:map-of {:gen/max 5} :keyword ::sm/safe-number]]]]]]) + [:maybe + [:map-of {:gen/max 5} :keyword ::sm/safe-number]]]]]]]) (sm/def! ::rect-attrs [:map {:title "RectAttrs"}