0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix problem with not applying colors to boards

This commit is contained in:
alonso.torres 2024-01-15 17:31:51 +01:00 committed by Andrés Moya
parent 339cdbec2d
commit 6c4d757ecb
2 changed files with 3 additions and 8 deletions

View file

@ -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

View file

@ -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?