0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 23:08:24 -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,10 +296,9 @@
token-value (some-> token wtc/resolve-token-value)]
(st/emit!
(change-radius (fn [shape]
(-> (dt/maybe-apply-token-to-shape
{:token-id token
:shape shape
:attributes (wtc/token-attributes :border-radius)})
(-> (dt/maybe-apply-token-to-shape {:token token
:shape shape
:attributes (wtc/token-attributes :border-radius)})
(ctsr/set-radius-1 (or token-value value)))))))))
on-radius-multi-change