mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 06:21:38 +02:00
🐛 Fix problem when export/importing guides attached to frame
This commit is contained in:
parent
9923268589
commit
c7e23c1b58
4 changed files with 12 additions and 5 deletions
|
@ -344,7 +344,13 @@
|
|||
(assoc :id (resolve page-id)))
|
||||
flows (->> (get-in page-data [:options :flows])
|
||||
(mapv #(update % :starting-frame resolve)))
|
||||
page-data (d/assoc-in-when page-data [:options :flows] flows)
|
||||
|
||||
guides (-> (get-in page-data [:options :guides])
|
||||
(d/update-vals #(update % :frame-id resolve)))
|
||||
|
||||
page-data (-> page-data
|
||||
(d/assoc-in-when [:options :flows] flows)
|
||||
(d/assoc-in-when [:options :guides] guides))
|
||||
file (-> file (fb/add-page page-data))
|
||||
|
||||
;; Preprocess nodes to parallel upload the images. Store the result in a table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue