🐛 Fix problem with empty mask on layout

This commit is contained in:
alonso.torres 2023-01-19 14:14:35 +01:00
parent 28114b166c
commit bc9be7846a

View file

@ -132,7 +132,7 @@
children (cph/get-immediate-children objects shape-id)]
(cond
(cph/mask-shape? shape)
(and (cph/mask-shape? shape) (seq children))
(get-group-bounds objects bounds modif-tree (-> children first))
(cph/group-shape? shape)