mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix shapes without fills contained in a group with fills
This commit is contained in:
parent
fec7d5cff2
commit
a9702f104d
3 changed files with 32 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue