Merge pull request #3469 from penpot/niwinz-staging-hotfix-2

🐛 Allow nil values for x,y,width and height on paths
This commit is contained in:
Alejandro
2023-07-31 13:41:22 +02:00
committed by GitHub

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