@leapfrog/interactive-canvas 1.0.0 → 1.0.1
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.
|
@@ -2921,7 +2921,9 @@ var AbstractInteractiveCanvas = /** @class */ (function () {
|
|
|
2921
2921
|
suppressPreamble: true,
|
|
2922
2922
|
encoding: null
|
|
2923
2923
|
};
|
|
2924
|
-
|
|
2924
|
+
var svg = this.executeWithNormalizedCanvas(function () { return _this.fabricCanvas.toSVG(options); });
|
|
2925
|
+
this.redraw();
|
|
2926
|
+
return svg;
|
|
2925
2927
|
};
|
|
2926
2928
|
/**
|
|
2927
2929
|
* @override
|
|
@@ -2921,7 +2921,9 @@ var AbstractInteractiveCanvas = /** @class */ (function () {
|
|
|
2921
2921
|
suppressPreamble: true,
|
|
2922
2922
|
encoding: null
|
|
2923
2923
|
};
|
|
2924
|
-
|
|
2924
|
+
var svg = this.executeWithNormalizedCanvas(function () { return _this.fabricCanvas.toSVG(options); });
|
|
2925
|
+
this.redraw();
|
|
2926
|
+
return svg;
|
|
2925
2927
|
};
|
|
2926
2928
|
/**
|
|
2927
2929
|
* @override
|