mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 11:46:10 +02:00
✨ Fixed export/import for nested frames
This commit is contained in:
parent
a4cc57886b
commit
9bd382f833
6 changed files with 75 additions and 53 deletions
|
@ -789,10 +789,14 @@
|
|||
:content node-content}))))
|
||||
|
||||
(defn add-frame-data [props node]
|
||||
(let [grids (parse-grids node)]
|
||||
(cond-> props
|
||||
(d/not-empty? grids)
|
||||
(assoc :grids grids))))
|
||||
(let [grids (parse-grids node)
|
||||
show-content (get-meta node :show-content str->bool)
|
||||
hide-in-viewer (get-meta node :hide-in-viewer str->bool)]
|
||||
(-> props
|
||||
(assoc :show-content show-content)
|
||||
(assoc :hide-in-viewer hide-in-viewer)
|
||||
(cond-> (d/not-empty? grids)
|
||||
(assoc :grids grids)))))
|
||||
|
||||
(defn has-image?
|
||||
[node]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue