mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 04:56:10 +02:00
🐛 Fix change colors from selected colors
This commit is contained in:
parent
9f66e8e5d1
commit
91c12ca34f
2 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@
|
|||
|
||||
(defn change-text-color
|
||||
[old-color new-color index node]
|
||||
(let [fills (:fills node)
|
||||
(let [fills (map #(dissoc % :fill-color-ref-id :fill-color-ref-file) (:fills node))
|
||||
parsed-color (d/without-nils (color-att->text old-color))
|
||||
parsed-new-color (d/without-nils (color-att->text new-color))
|
||||
has-color? (d/index-of fills parsed-color)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue