0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-04 19:11:20 -05:00

🐛 Fix duplicate board

This commit is contained in:
Alejandro Alonso 2023-08-02 18:13:59 +02:00
parent 53001921d5
commit 3ff13f1d8f

View file

@ -430,12 +430,14 @@
:parent-id parent-id
:frame-id frame-id)
(dissoc :shapes
:main-instance?
:use-for-thumbnail?)
(cond->
(or group? bool?)
(assoc :shapes []))
(dissoc :main-instance?
:use-for-thumbnail?)
(gsh/move delta)
(d/update-when :interactions #(ctsi/remap-interactions % ids-map objects)))