diff --git a/CHANGES.md b/CHANGES.md index 041967979..5797b1864 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,7 +7,7 @@ - Fix problem with shadows and blur on multiple selection - Fix problem with redo shortcut - Fix search field has implemented shared styles for "close icon" and "search icon" [Taiga #4927](https://tree.taiga.io/project/penpot/issue/4927) - +- Fix Change text color from selected colors [Taiga #4933](https://tree.taiga.io/project/penpot/issue/4933) ## 1.17.2 ### :bug: Bugs fixed diff --git a/frontend/src/app/main/data/workspace/colors.cljs b/frontend/src/app/main/data/workspace/colors.cljs index abe3bd8ac..cbae33ba3 100644 --- a/frontend/src/app/main/data/workspace/colors.cljs +++ b/frontend/src/app/main/data/workspace/colors.cljs @@ -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)]