diff --git a/CHANGES.md b/CHANGES.md index b4cdb7bf3..dfdc9b87c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,8 +23,8 @@ ### :bug: Bugs fixed -- Fix pixelated thumbnails [Github - #3681](https://github.com/penpot/penpot/issues/3681) [Github #3661](https://github.com/penpot/penpot/issues/3661) +- Fix pixelated thumbnails [Github #3681](https://github.com/penpot/penpot/issues/3681) [Github #3661](https://github.com/penpot/penpot/issues/3661) +- Fix problem with not applying colors to boards [Github #3941](https://github.com/penpot/penpot/issues/3941) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/data/workspace/colors.cljs b/frontend/src/app/main/data/workspace/colors.cljs index e20b9019b..2dd79469e 100644 --- a/frontend/src/app/main/data/workspace/colors.cljs +++ b/frontend/src/app/main/data/workspace/colors.cljs @@ -12,7 +12,6 @@ [app.common.files.helpers :as cfh] [app.common.schema :as sm] [app.common.text :as txt] - [app.common.types.component :as ctk] [app.main.broadcast :as mbc] [app.main.data.events :as ev] [app.main.data.modal :as md] @@ -427,11 +426,7 @@ (if (empty? pending) result (let [cur (first pending) - ;; We treat frames that aren't components and with no fill the same as groups - group? (or (cfh/group-shape? objects cur) - (and (cfh/frame-shape? objects cur) - (empty? (dm/get-in objects [cur :fills])) - (not (ctk/instance-head? (get objects cur))))) + group? (cfh/group-shape? objects cur) pending (if group?