🐛 Fix shapes without fills contained in a group with fills

This commit is contained in:
Alejandro Alonso 2025-06-06 08:22:25 +02:00
parent fec7d5cff2
commit a9702f104d
3 changed files with 32 additions and 5 deletions

View file

@ -696,8 +696,10 @@
false)
rotation (dm/get-prop shape :rotation)
transform (dm/get-prop shape :transform)
fills (if (= type :group)
[] (dm/get-prop shape :fills))
;; Groups from imported SVG's can have their own fills
fills (dm/get-prop shape :fills)
strokes (if (= type :group)
[] (dm/get-prop shape :strokes))
children (dm/get-prop shape :shapes)