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:
parent
0ec49e5e95
commit
13312dc467
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue