@netless/window-manager 0.4.0-canary.2 → 0.4.0-canary.3
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.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@netless/window-manager",
|
3
|
-
"version": "0.4.0-canary.
|
3
|
+
"version": "0.4.0-canary.3",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/index.es.js",
|
6
6
|
"module": "dist/index.es.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
24
|
"@juggle/resize-observer": "^3.3.1",
|
25
|
-
"@netless/app-docs-viewer": "0.
|
25
|
+
"@netless/app-docs-viewer": "0.2.0",
|
26
26
|
"@netless/app-media-player": "0.1.0-beta.5",
|
27
27
|
"@netless/telebox-insider": "0.2.17",
|
28
28
|
"emittery": "^0.9.2",
|
package/src/index.ts
CHANGED
@@ -182,7 +182,7 @@ export class WindowManager extends InvisiblePlugin<WindowMangerAttributes> {
|
|
182
182
|
public static containerSizeRatio = DEFAULT_CONTAINER_RATIO;
|
183
183
|
private static isCreated = false;
|
184
184
|
|
185
|
-
public version = "0.4.0-canary.
|
185
|
+
public version = "0.4.0-canary.3";
|
186
186
|
|
187
187
|
public appListeners?: AppListeners;
|
188
188
|
|
@@ -357,8 +357,8 @@ export class WindowManager extends InvisiblePlugin<WindowMangerAttributes> {
|
|
357
357
|
}
|
358
358
|
|
359
359
|
public bindCollectorContainer(container: HTMLElement) {
|
360
|
-
if (WindowManager.isCreated) {
|
361
|
-
this.boxManager
|
360
|
+
if (WindowManager.isCreated && this.boxManager) {
|
361
|
+
this.boxManager.setCollectorContainer(container);
|
362
362
|
} else {
|
363
363
|
if (WindowManager.params) {
|
364
364
|
WindowManager.params.collectorContainer = container;
|