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.
1 parent 6782995 commit 6f81e0dCopy full SHA for 6f81e0d
src/svg-renderer.js
@@ -308,7 +308,7 @@ class SvgRenderer {
308
let largestStrokeWidth = 0;
309
const collectStrokeWidths = domElement => {
310
if (domElement.getAttribute) {
311
- if (domElement.getAttribute('stroke')) {
+ if (domElement.getAttribute('stroke') && domElement.getAttribute('stroke') !== 'none') {
312
largestStrokeWidth = Math.max(largestStrokeWidth, 1);
313
}
314
if (domElement.getAttribute('stroke-width')) {
0 commit comments