@leapfrog/interactive-canvas 2.0.21 → 2.0.22-beta-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.
|
@@ -3735,7 +3735,7 @@ class SelectionData {
|
|
|
3735
3735
|
|
|
3736
3736
|
class HeadlessInteractiveCanvas extends AbstractInteractiveCanvas {
|
|
3737
3737
|
constructor() {
|
|
3738
|
-
super(fabric, new fabric.StaticCanvas(
|
|
3738
|
+
super(fabric, new fabric.StaticCanvas(null, { width: 640, height: 480 }), 0);
|
|
3739
3739
|
this.headless = true;
|
|
3740
3740
|
}
|
|
3741
3741
|
/**
|
|
@@ -3756,7 +3756,7 @@ class SelectionData {
|
|
|
3756
3756
|
|
|
3757
3757
|
class HeadlessInteractiveCanvas extends AbstractInteractiveCanvas {
|
|
3758
3758
|
constructor() {
|
|
3759
|
-
super(fabric__namespace, new fabric__namespace.StaticCanvas(
|
|
3759
|
+
super(fabric__namespace, new fabric__namespace.StaticCanvas(null, { width: 640, height: 480 }), 0);
|
|
3760
3760
|
this.headless = true;
|
|
3761
3761
|
}
|
|
3762
3762
|
/**
|