mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 05:58:47 +00:00
Merge pull request #1907 from penpot/eva-fix-layers-when-group
🐛 Fix change layer position on group or component creation
This commit is contained in:
commit
f68a4eb84a
@ -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