Merge pull request #6633 from penpot/niwinz-develop-hotfix-1

🐛 Fix library color detach operation
This commit is contained in:
Alejandro Alonso 2025-06-05 11:04:57 +02:00 committed by GitHub
commit ea4e69f381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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