We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b952ca1 + fc82d6a commit bdd081aCopy full SHA for bdd081a
src/svg/Painter.ts
@@ -393,7 +393,7 @@ function createBackgroundVNode(
393
else {
394
const { color, opacity } = normalizeColor(backgroundColor);
395
bgVNode.attrs.fill = color;
396
- opacity < 1 && (bgVNode.attrs.fillOpacity = opacity);
+ opacity < 1 && (bgVNode.attrs['fill-opacity'] = opacity);
397
}
398
399
return bgVNode;
0 commit comments