fabric-vectr 6.7.9 → 6.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.node.cjs +5 -2
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +5 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/package.json.min.mjs +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/shapes/Object/FabricObjectSVGExportMixin.d.ts.map +1 -1
- package/dist/src/shapes/Object/FabricObjectSVGExportMixin.min.mjs +1 -1
- package/dist/src/shapes/Object/FabricObjectSVGExportMixin.min.mjs.map +1 -1
- package/dist/src/shapes/Object/FabricObjectSVGExportMixin.mjs +4 -1
- package/dist/src/shapes/Object/FabricObjectSVGExportMixin.mjs.map +1 -1
- package/dist-extensions/src/shapes/Object/FabricObjectSVGExportMixin.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shapes/Object/FabricObjectSVGExportMixin.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
}
|
|
367
367
|
const cache = new Cache();
|
|
368
368
|
|
|
369
|
-
var version = "6.7.
|
|
369
|
+
var version = "6.7.10";
|
|
370
370
|
|
|
371
371
|
// use this syntax so babel plugin see this import here
|
|
372
372
|
const VERSION = version;
|
|
@@ -5063,7 +5063,10 @@
|
|
|
5063
5063
|
if (clipPath) {
|
|
5064
5064
|
markup.push(clipPathMarkup);
|
|
5065
5065
|
}
|
|
5066
|
-
|
|
5066
|
+
// if use pattern, ignore objectMarkup, because pattern clipPath has been applied in pattern's svg, and objectMarkup is not needed anymore
|
|
5067
|
+
if (!this.clipPathPattern) {
|
|
5068
|
+
markup.push(objectMarkup.join(''));
|
|
5069
|
+
}
|
|
5067
5070
|
markup.push('</g>\n');
|
|
5068
5071
|
absoluteClipPath && markup.push('</g>\n');
|
|
5069
5072
|
return reviver ? reviver(markup.join('')) : markup.join('');
|