0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 09:31:26 -05:00

🐛 Allow nil values for x,y,width and height on paths

This commit is contained in:
Andrey Antukh 2023-07-31 13:36:28 +02:00
parent 0ec49e5e95
commit 13312dc467

View file

@ -215,6 +215,10 @@
[:map {:title "PathAttrs"}
[:type [:= :path]]
[:id ::sm/uuid]
[:x {:optional true} [:maybe ::sm/safe-number]]
[:y {:optional true} [:maybe ::sm/safe-number]]
[:width {:optional true} [:maybe ::sm/safe-number]]
[:height {:optional true} [:maybe ::sm/safe-number]]
[:content
[:vector
[:map