Only take fills for non-groups

This commit is contained in:
Belén Albeza 2024-12-09 16:09:53 +01:00
parent 99bb3ee962
commit 4c83899d69
2 changed files with 2 additions and 3 deletions

View file

@ -253,7 +253,8 @@
selrect (dm/get-prop shape :selrect)
rotation (dm/get-prop shape :rotation)
transform (dm/get-prop shape :transform)
fills (dm/get-prop shape :fills)
fills (if (= type :group)
[] (dm/get-prop shape :fills))
children (dm/get-prop shape :shapes)
blend-mode (dm/get-prop shape :blend-mode)
opacity (dm/get-prop shape :opacity)