From 5205b684e9dde4582dd5b99ea67710a6e0af4a56 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Thu, 16 May 2024 11:36:08 +0200 Subject: [PATCH] Fix token not being applied --- .../main/ui/workspace/sidebar/options/menus/measures.cljs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs index 433e1f0074..d457c3d7a6 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs @@ -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