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