0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 00:01:51 -05:00

🐛 Allow nil values on bool content params

This commit is contained in:
Andrey Antukh 2023-08-07 11:45:48 +02:00
parent a494b89bba
commit fe80aab394

View file

@ -184,7 +184,8 @@
[:relative {:optional true} :boolean] [:relative {:optional true} :boolean]
[:prev-pos {:optional true} ::gpt/point] [:prev-pos {:optional true} ::gpt/point]
[:params {:optional true} [: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 (sm/def! ::rect-attrs
[:map {:title "RectAttrs"} [:map {:title "RectAttrs"}