mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 22:06:10 +02:00
🔧 Use changes-builder in library synchronization module
This commit is contained in:
parent
ee813abdc1
commit
5a33a002e4
12 changed files with 790 additions and 741 deletions
|
@ -101,7 +101,7 @@
|
|||
objects (wsh/lookup-page-objects state (:id page))
|
||||
shapes (dwg/shapes-for-grouping objects ids)
|
||||
|
||||
[group rchanges uchanges]
|
||||
[group changes]
|
||||
(dwlh/generate-add-component nil
|
||||
shapes
|
||||
(:objects page)
|
||||
|
@ -110,5 +110,5 @@
|
|||
|
||||
(swap! idmap assoc label (:id group))
|
||||
(update state :workspace-data
|
||||
cp/process-changes rchanges)))
|
||||
cp/process-changes (:redo-changes changes))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue