mirror of
https://github.com/penpot/penpot.git
synced 2026-03-01 07:43:45 +00:00
🐛 Fix problem with empty mask on layout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user