diff --git a/CHANGES.md b/CHANGES.md index b2002ed27..0fa08aa01 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -34,6 +34,7 @@ ### :bug: Bugs fixed - Navigate tracking event firing multiple times [Taiga #10415](https://tree.taiga.io/project/penpot/issue/10415) +- Fix problem with selection colors [Taiga #](https://tree.taiga.io/project/penpot/issue/10376) ## 2.5.1 diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs index d7938b69b..fe4cc9c09 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs @@ -26,7 +26,7 @@ [rumext.v2 :as mf])) (mf/defc options* - [{:keys [shape file-id shapes-with-children shared-libs] :as props}] + [{:keys [shape file-id shapes-with-children libraries] :as props}] (let [shape-id (dm/get-prop shape :id) shape-type (dm/get-prop shape :type) @@ -125,7 +125,7 @@ [:> color-selection-menu* {:type shape-type :shapes shapes-with-children :file-id file-id - :libraries shared-libs}] + :libraries libraries}] [:> shadow-menu* {:ids ids :values (get shape :shadow)}] [:& blur-menu {:ids ids :values (select-keys shape [:blur])}] diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs index 25232adc8..52ec89526 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs @@ -292,7 +292,7 @@ page-id (unchecked-get props "page-id") file-id (unchecked-get props "file-id") - shared-libs (unchecked-get props "shared-libs") + shared-libs (unchecked-get props "libraries") show-caps (some #(and (= :path (:type %)) (gsh/open-path? %)) shapes)