mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 11:38:24 -05:00
🐛 Fix create mask inside layout
This commit is contained in:
parent
3280a6853e
commit
03b3b441b5
1 changed files with 7 additions and 3 deletions
|
@ -237,10 +237,14 @@
|
||||||
:points (:points first-shape)
|
:points (:points first-shape)
|
||||||
:transform (:transform first-shape)
|
:transform (:transform first-shape)
|
||||||
:transform-inverse (:transform-inverse 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)
|
(rx/of (dwu/start-undo-transaction undo-id)
|
||||||
(dws/select-shapes (d/ordered-set (:id group))))))))))
|
(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
|
(def unmask-group
|
||||||
(ptk/reify ::unmask-group
|
(ptk/reify ::unmask-group
|
||||||
|
|
Loading…
Add table
Reference in a new issue