mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 18:16:37 +02:00
🔧 Use changes-builder in workspace common operations
This commit is contained in:
parent
8ed857b4b9
commit
a7b455fb9a
3 changed files with 107 additions and 230 deletions
|
@ -270,7 +270,7 @@
|
|||
:parent-id (:frame-id shape)
|
||||
:frame-id (:frame-id shape)
|
||||
:id id
|
||||
:index (cph/get-position-on-parent objects (:id shape))
|
||||
:index (cph/get-position-on-parent objects id)
|
||||
:obj (cond-> shape
|
||||
(contains? shape :shapes)
|
||||
(assoc :shapes []))})))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue