mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix problem with not applying colors to boards
This commit is contained in:
parent
339cdbec2d
commit
6c4d757ecb
2 changed files with 3 additions and 8 deletions
|
@ -23,8 +23,8 @@
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
- Fix pixelated thumbnails [Github
|
- Fix pixelated thumbnails [Github #3681](https://github.com/penpot/penpot/issues/3681) [Github #3661](https://github.com/penpot/penpot/issues/3661)
|
||||||
#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
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
[app.common.files.helpers :as cfh]
|
[app.common.files.helpers :as cfh]
|
||||||
[app.common.schema :as sm]
|
[app.common.schema :as sm]
|
||||||
[app.common.text :as txt]
|
[app.common.text :as txt]
|
||||||
[app.common.types.component :as ctk]
|
|
||||||
[app.main.broadcast :as mbc]
|
[app.main.broadcast :as mbc]
|
||||||
[app.main.data.events :as ev]
|
[app.main.data.events :as ev]
|
||||||
[app.main.data.modal :as md]
|
[app.main.data.modal :as md]
|
||||||
|
@ -427,11 +426,7 @@
|
||||||
(if (empty? pending)
|
(if (empty? pending)
|
||||||
result
|
result
|
||||||
(let [cur (first pending)
|
(let [cur (first pending)
|
||||||
;; We treat frames that aren't components and with no fill the same as groups
|
group? (cfh/group-shape? objects cur)
|
||||||
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)))))
|
|
||||||
|
|
||||||
pending
|
pending
|
||||||
(if group?
|
(if group?
|
||||||
|
|
Loading…
Add table
Reference in a new issue