0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

🐛 Fix create mask inside layout

This commit is contained in:
Eva 2023-01-17 11:47:49 +01:00 committed by Alonso Torres
parent 3280a6853e
commit 03b3b441b5

View file

@ -237,10 +237,14 @@
:points (:points first-shape)
:transform (:transform first-shape)
:transform-inverse (:transform-inverse first-shape))))
(pcb/resize-parents [(:id group)]))]
(pcb/resize-parents [(:id group)]))
undo-id (js/Symbol)]
(rx/of (dch/commit-changes changes)
(dws/select-shapes (d/ordered-set (:id group))))))))))
(rx/of (dwu/start-undo-transaction undo-id)
(dch/commit-changes changes)
(dws/select-shapes (d/ordered-set (:id group)))
(ptk/data-event :layout/update [(:id group)])
(dwu/commit-undo-transaction undo-id))))))))
(def unmask-group
(ptk/reify ::unmask-group