mirror of
https://github.com/penpot/penpot.git
synced 2026-08-27 23:28:38 +00:00
🐛 Fix change layer position on group or component creation
This commit is contained in:
parent
799bb87398
commit
a240fbdf5b
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
changes (-> (pcb/empty-changes it page-id)
|
changes (-> (pcb/empty-changes it page-id)
|
||||||
(pcb/with-objects objects)
|
(pcb/with-objects objects)
|
||||||
(pcb/add-object group)
|
(pcb/add-object group {:index (::index (first shapes))})
|
||||||
(pcb/change-parent (:id group) shapes)
|
(pcb/change-parent (:id group) shapes)
|
||||||
(pcb/remove-objects ids-to-delete))]
|
(pcb/remove-objects ids-to-delete))]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user