From 1eb8067741f85eb78057ce2e59f0876b3ee4a345 Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Sun, 17 Feb 2019 22:15:57 +0100 Subject: [PATCH] test svg --- src/mixins/object.svg_export.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mixins/object.svg_export.js b/src/mixins/object.svg_export.js index 0d07eb8f..110a650c 100644 --- a/src/mixins/object.svg_export.js +++ b/src/mixins/object.svg_export.js @@ -213,6 +213,7 @@ styleInfo = noStyle ? '' : 'style="' + this.getSvgStyles() + '" ', shadowInfo = withShadow ? 'style="' + this.getSvgFilter() + '" ' : '', clipPath = this.clipPath, + vectorEffect = this.strokeUniform ? 'vector-effect="non-scaling-stroke" ' : '', absoluteClipPath = this.clipPath && this.clipPath.absolutePositioned, commonPieces, markup = [], clipPathMarkup, // insert commons in the markup, style and svgCommons @@ -237,6 +238,7 @@ ); commonPieces = [ styleInfo, + vectorEffect, noStyle ? '' : this.addPaintOrder(), ' ', additionalTransform ? 'transform="' + additionalTransform + '" ' : '', ].join('');