@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
- return this.executeWithNormalizedCanvas(function () { return _this.fabricCanvas.toSVG(options); });
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
- return this.executeWithNormalizedCanvas(function () { return _this.fabricCanvas.toSVG(options); });
2924
+ var svg = this.executeWithNormalizedCanvas(function () { return _this.fabricCanvas.toSVG(options); });
2925
+ this.redraw();
2926
+ return svg;
2925
2927
  };
2926
2928
  /**
2927
2929
  * @override
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapfrog/interactive-canvas",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Leapfrog interactive canvas",
5
5
  "files": [
6
6
  "dist"