mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix problem with empty mask on layout
This commit is contained in:
parent
28114b166c
commit
bc9be7846a
@ -132,7 +132,7 @@
|
|||||||
children (cph/get-immediate-children objects shape-id)]
|
children (cph/get-immediate-children objects shape-id)]
|
||||||
|
|
||||||
(cond
|
(cond
|
||||||
(cph/mask-shape? shape)
|
(and (cph/mask-shape? shape) (seq children))
|
||||||
(get-group-bounds objects bounds modif-tree (-> children first))
|
(get-group-bounds objects bounds modif-tree (-> children first))
|
||||||
|
|
||||||
(cph/group-shape? shape)
|
(cph/group-shape? shape)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user