🐛 Fix touched on adding shapes to a component copy and undo

This commit is contained in:
Andrés Moya 2023-06-21 14:38:09 +02:00 committed by Andrey Antukh
parent d4fe810813
commit d8121364ad
7 changed files with 41 additions and 10 deletions

View file

@ -154,7 +154,8 @@
(let [page (current-page state)
libraries (wsh/get-libraries state)
changes (pcb/empty-changes nil (:id page))
changes (-> (pcb/empty-changes nil (:id page))
(pcb/with-objects (:objects page)))
[new-shape changes]
(dwlh/generate-instantiate-component changes