🐛 Fix multiselection with tokens on stroke color

This commit is contained in:
Eva Marco
2025-12-12 14:48:57 +01:00
parent 33c786498d
commit 64bf075897
2 changed files with 2 additions and 5 deletions

View File

@@ -147,11 +147,7 @@
on-change on-reorder on-detach on-open on-close on-remove origin on-detach-token
disable-drag on-focus on-blur select-only select-on-focus on-token-change applied-token]}]
(let [;; TODO: Remove this workaround fixing `get-attrs*` fn on sidebar/options/shapes/multiple.cljs
applied-token (if (= :multiple applied-token)
nil
applied-token)
token-color (contains? cfg/flags :token-color)
(let [token-color (contains? cfg/flags :token-color)
libraries (mf/deref refs/files)
color-without-hash (mf/use-memo

View File

@@ -223,6 +223,7 @@
(cond
(= existing ::not-found) (assoc acc t-attr new-val)
(= existing new-val) acc
(nil? new-val) acc
:else (assoc acc t-attr :multiple))))
merge-shape-attr