Fixed export/import for nested frames

This commit is contained in:
alonso.torres 2022-06-09 19:51:49 +02:00
parent a4cc57886b
commit 9bd382f833
6 changed files with 75 additions and 53 deletions

View file

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