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:
parent
23bee8415a
commit
5205b684e9
1 changed files with 3 additions and 4 deletions
|
@ -296,8 +296,7 @@
|
|||
token-value (some-> token wtc/resolve-token-value)]
|
||||
(st/emit!
|
||||
(change-radius (fn [shape]
|
||||
(-> (dt/maybe-apply-token-to-shape
|
||||
{:token-id token
|
||||
(-> (dt/maybe-apply-token-to-shape {:token token
|
||||
:shape shape
|
||||
:attributes (wtc/token-attributes :border-radius)})
|
||||
(ctsr/set-radius-1 (or token-value value)))))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue