0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Fix keys applied when dimensions or sizing token is applied directly

This commit is contained in:
Akshay Gupta 2024-06-18 23:21:17 +05:30
parent 1ebd2ee3d7
commit 0105e42068
No known key found for this signature in database

View file

@ -145,14 +145,14 @@
[:sizing [:sizing
{:title "Sizing" {:title "Sizing"
:attributes ctt/sizing-keys :attributes #{:width :height}
:on-update-shape update-shape-dimensions :on-update-shape update-shape-dimensions
:modal {:key :tokens/sizing :modal {:key :tokens/sizing
:fields [{:label "Sizing" :fields [{:label "Sizing"
:key :sizing}]}}] :key :sizing}]}}]
[:dimensions [:dimensions
{:title "Dimensions" {:title "Dimensions"
:attributes ctt/dimensions-keys :attributes #{:width :height}
:on-update-shape update-shape-dimensions :on-update-shape update-shape-dimensions
:modal {:key :tokens/dimensions :modal {:key :tokens/dimensions
:fields [{:label "Dimensions" :fields [{:label "Dimensions"