Closed MobileSam closed 6 years ago
I'll have a look tomorrow. Thanks for reporting!
Bug fixed. Please try svgren version 0.4.46.
The problem was in that <mask>
element is outside of the <defs>
and it was picked up by renderer as usual visible element and rendered to the primary image instead of mask image. Now I made it so that <mask>
is not rendered even if placed outside of <defs>
.
Hello,
We found a similar issue as before (white rectangle image) with masks. My hunch would be the special node
<use [...]></use>
but I'm not sure.I'm attaching the non-working SVG and an updated version of the same SVG that works.
caltrain-non-working.svg
caltrain-working.svg