mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Fix token not being applied
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user