@leapfrog/interactive-canvas 2.0.5 → 2.0.7
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.
|
@@ -3,7 +3,7 @@ export declare class InteractiveCanvas extends AbstractInteractiveCanvas {
|
|
|
3
3
|
protected devicePixelRatio: number;
|
|
4
4
|
readonly headless: boolean;
|
|
5
5
|
private readonly undoStack;
|
|
6
|
-
constructor(canvas: HTMLCanvasElement | string, devicePixelRatio: number);
|
|
6
|
+
constructor(canvas: HTMLCanvasElement | string | null, devicePixelRatio: number);
|
|
7
7
|
/**
|
|
8
8
|
* @override
|
|
9
9
|
* @inheritDoc
|
|
@@ -3923,7 +3923,6 @@ var InteractiveCanvas = /** @class */ (function (_super) {
|
|
|
3923
3923
|
_this.devicePixelRatio = devicePixelRatio;
|
|
3924
3924
|
_this.headless = false;
|
|
3925
3925
|
_this.undoStack = new UndoStack(_this);
|
|
3926
|
-
console.log('**************** ic', canvas);
|
|
3927
3926
|
//Initialize watchers
|
|
3928
3927
|
_this.fabricCanvas.on("selection:updated", function () { return _this.onFabricSelectionChanged(); });
|
|
3929
3928
|
_this.fabricCanvas.on("selection:created", function () { return _this.onFabricSelectionChanged(); });
|
|
@@ -3923,7 +3923,6 @@ var InteractiveCanvas = /** @class */ (function (_super) {
|
|
|
3923
3923
|
_this.devicePixelRatio = devicePixelRatio;
|
|
3924
3924
|
_this.headless = false;
|
|
3925
3925
|
_this.undoStack = new UndoStack(_this);
|
|
3926
|
-
console.log('**************** ic', canvas);
|
|
3927
3926
|
//Initialize watchers
|
|
3928
3927
|
_this.fabricCanvas.on("selection:updated", function () { return _this.onFabricSelectionChanged(); });
|
|
3929
3928
|
_this.fabricCanvas.on("selection:created", function () { return _this.onFabricSelectionChanged(); });
|