mirror of
https://github.com/penpot/penpot.git
synced 2025-04-12 15:01:28 -05:00
🐛 Fix problem with move-objects
This commit is contained in:
parent
46448bc5c7
commit
3d7a3f27d5
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@
|
|||
(if (and valid? (seq shapes))
|
||||
(as-> objects $
|
||||
;; Add the new shapes to the parent object.
|
||||
(update $ parent-id #(add-to-parent % index shapes))
|
||||
(d/update-when $ parent-id #(add-to-parent % index shapes))
|
||||
|
||||
;; Update each individual shape link to the new parent
|
||||
(reduce update-parent-id $ shapes)
|
||||
|
|
Loading…
Add table
Reference in a new issue