@leapfrog/interactive-canvas 1.11.1 → 1.11.2
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.
|
@@ -3666,7 +3666,7 @@ var InteractiveCanvas = /** @class */ (function (_super) {
|
|
|
3666
3666
|
function InteractiveCanvas(elementId, devicePixelRatio) {
|
|
3667
3667
|
var _this = _super.call(this, window['fabric'], new window['fabric'].Canvas(elementId), devicePixelRatio) || this;
|
|
3668
3668
|
_this.devicePixelRatio = devicePixelRatio;
|
|
3669
|
-
_this.undoStack = new UndoStack(
|
|
3669
|
+
_this.undoStack = new UndoStack(100);
|
|
3670
3670
|
//Initialize watchers
|
|
3671
3671
|
_this.fabricCanvas.on("selection:updated", function () { return _this.onFabricSelectionChanged(); });
|
|
3672
3672
|
_this.fabricCanvas.on("selection:created", function () { return _this.onFabricSelectionChanged(); });
|
|
@@ -3666,7 +3666,7 @@ var InteractiveCanvas = /** @class */ (function (_super) {
|
|
|
3666
3666
|
function InteractiveCanvas(elementId, devicePixelRatio) {
|
|
3667
3667
|
var _this = _super.call(this, window['fabric'], new window['fabric'].Canvas(elementId), devicePixelRatio) || this;
|
|
3668
3668
|
_this.devicePixelRatio = devicePixelRatio;
|
|
3669
|
-
_this.undoStack = new UndoStack(
|
|
3669
|
+
_this.undoStack = new UndoStack(100);
|
|
3670
3670
|
//Initialize watchers
|
|
3671
3671
|
_this.fabricCanvas.on("selection:updated", function () { return _this.onFabricSelectionChanged(); });
|
|
3672
3672
|
_this.fabricCanvas.on("selection:created", function () { return _this.onFabricSelectionChanged(); });
|