🐛 Fix library color detach operation

This commit is contained in:
Andrey Antukh 2025-06-05 09:29:34 +02:00
parent b7f97dbeea
commit 19961f440a

View file

@ -117,8 +117,7 @@
(mf/deps ids) (mf/deps ids)
(fn [index] (fn [index]
(fn [color] (fn [color]
(let [color (-> color (let [color (dissoc color :ref-id :ref-file)]
(assoc :id nil :file-id nil))]
(st/emit! (dc/change-fill ids color index)))))) (st/emit! (dc/change-fill ids color index))))))
on-change-show-fill-on-export on-change-show-fill-on-export