mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 22:26:11 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
45fc55dee9
2 changed files with 6 additions and 1 deletions
|
@ -138,7 +138,9 @@
|
|||
(pcb/with-objects objects)
|
||||
(cond-> (not (ctl/any-layout? objects frame-id))
|
||||
(pcb/update-shapes ordered-indexes ctl/remove-layout-item-data))
|
||||
(pcb/update-shapes ordered-indexes #(cond-> % (cph/frame-shape? %) (assoc :hide-in-viewer true)))
|
||||
(pcb/update-shapes ordered-indexes #(cond-> %
|
||||
(and (cph/frame-shape? %) (not= (:parent-id %) uuid/zero))
|
||||
(assoc :hide-in-viewer true)))
|
||||
(pcb/change-parent frame-id to-move-shapes 0)
|
||||
(cond-> (ctl/grid-layout? objects frame-id)
|
||||
(pcb/update-shapes [frame-id] ctl/assign-cells))))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue