mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 23:41:40 +02:00
🐛 Fix PDF exportation order
This commit is contained in:
parent
ab22909b6c
commit
c2ccdd5680
2 changed files with 6 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
(ns app.main.ui.workspace.header
|
||||
(:require
|
||||
[app.common.pages.helpers :as cph]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.exports :as de]
|
||||
|
@ -107,7 +109,9 @@
|
|||
show-sub-menu? (mf/use-state false)
|
||||
editing? (mf/use-state false)
|
||||
edit-input-ref (mf/use-ref nil)
|
||||
frames (mf/deref refs/workspace-frames)
|
||||
objects (mf/deref refs/workspace-page-objects)
|
||||
frames (->> (cph/get-immediate-children objects uuid/zero)
|
||||
(filterv cph/frame-shape?))
|
||||
|
||||
add-shared-fn
|
||||
#(st/emit! (dwl/set-file-shared (:id file) true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue