0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 09:31:26 -05:00

🐛 Fix union operations

This commit is contained in:
Alejandro Alonso 2023-08-23 09:54:58 +02:00 committed by Andrey Antukh
parent a6ec73fd4c
commit 0782382ee1

View file

@ -11,6 +11,7 @@
[app.common.pages.changes-builder :as pcb]
[app.common.pages.helpers :as cph]
[app.common.path.shapes-to-path :as stp]
[app.common.types.shape :as cts]
[app.common.types.shape.layout :as ctl]
[app.common.uuid :as uuid]
[app.main.data.workspace.changes :as dch]
@ -45,6 +46,7 @@
:name name
:shapes (->> shapes (mapv :id))}
(merge head-data)
(cts/setup-shape)
(gsh/update-bool-selrect shapes objects))]
[bool-shape (cph/get-position-on-parent objects (:id head))]))