0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 09:38:56 -05:00

🐛 Fix show baground on export arboards

This commit is contained in:
Alejandro Alonso 2022-06-10 10:27:53 +02:00 committed by Andrés Moya
parent 206ffcc6e8
commit 310c322883
2 changed files with 3 additions and 4 deletions

View file

@ -13,6 +13,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix orientation artboard preset not working with differently sized artboards [Taiga #3548](https://tree.taiga.io/project/penpot/issue/3548) - Fix orientation artboard preset not working with differently sized artboards [Taiga #3548](https://tree.taiga.io/project/penpot/issue/3548)
- Fix background on export arboards [Taiga #1991](https://tree.taiga.io/project/penpot/issue/1991)
## 1.13.4-beta ## 1.13.4-beta

View file

@ -421,7 +421,6 @@
[props node svg-data] [props node svg-data]
(let [fill (:fill svg-data) (let [fill (:fill svg-data)
hide-fill-on-export (get-meta node :hide-fill-on-export str->bool)
fill-color-ref-id (get-meta node :fill-color-ref-id uuid/uuid) fill-color-ref-id (get-meta node :fill-color-ref-id uuid/uuid)
fill-color-ref-file (get-meta node :fill-color-ref-file uuid/uuid) fill-color-ref-file (get-meta node :fill-color-ref-file uuid/uuid)
meta-fill-color (get-meta node :fill-color) meta-fill-color (get-meta node :fill-color)
@ -455,9 +454,6 @@
(assoc :fill-color fill (assoc :fill-color fill
:fill-opacity (-> svg-data (:fill-opacity "1") d/parse-double)) :fill-opacity (-> svg-data (:fill-opacity "1") d/parse-double))
(some? hide-fill-on-export)
(assoc :hide-fill-on-export hide-fill-on-export)
(some? fill-color-ref-id) (some? fill-color-ref-id)
(assoc :fill-color-ref-id fill-color-ref-id (assoc :fill-color-ref-id fill-color-ref-id
:fill-color-ref-file fill-color-ref-file)))) :fill-color-ref-file fill-color-ref-file))))
@ -884,6 +880,8 @@
(assoc :fills (parse-fills node svg-data)) (assoc :fills (parse-fills node svg-data))
(assoc :strokes (parse-strokes node svg-data)) (assoc :strokes (parse-strokes node svg-data))
(assoc :hide-fill-on-export (get-meta node :hide-fill-on-export str->bool))
(cond-> (= :svg-raw type) (cond-> (= :svg-raw type)
(add-svg-content node)) (add-svg-content node))