0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

Fix token not being applied

This commit is contained in:
Florian Schroedl 2024-05-16 11:36:08 +02:00
parent 23bee8415a
commit 5205b684e9

View file

@ -296,8 +296,7 @@
token-value (some-> token wtc/resolve-token-value)] token-value (some-> token wtc/resolve-token-value)]
(st/emit! (st/emit!
(change-radius (fn [shape] (change-radius (fn [shape]
(-> (dt/maybe-apply-token-to-shape (-> (dt/maybe-apply-token-to-shape {:token token
{:token-id token
:shape shape :shape shape
:attributes (wtc/token-attributes :border-radius)}) :attributes (wtc/token-attributes :border-radius)})
(ctsr/set-radius-1 (or token-value value))))))))) (ctsr/set-radius-1 (or token-value value)))))))))