@netless/window-manager 0.4.63 → 0.4.65-beta.0
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/View/MainView.ts +7 -5
package/dist/index.mjs
CHANGED
@@ -1790,6 +1790,8 @@ class MainViewProxy {
|
|
1790
1790
|
if (isWritable) {
|
1791
1791
|
this.ensureCameraAndSize();
|
1792
1792
|
}
|
1793
|
+
if (this.manager.room)
|
1794
|
+
this.syncMainView(this.manager.room);
|
1793
1795
|
});
|
1794
1796
|
});
|
1795
1797
|
};
|
@@ -1897,6 +1899,8 @@ class MainViewProxy {
|
|
1897
1899
|
return;
|
1898
1900
|
this.addCameraListener();
|
1899
1901
|
this.addCameraReaction();
|
1902
|
+
if (this.manager.room)
|
1903
|
+
this.syncMainView(this.manager.room);
|
1900
1904
|
this.started = true;
|
1901
1905
|
}
|
1902
1906
|
setCameraAndSize() {
|
@@ -17464,7 +17468,7 @@ const reconnectRefresher = new ReconnectRefresher({ emitter: internalEmitter });
|
|
17464
17468
|
const _WindowManager = class extends InvisiblePlugin {
|
17465
17469
|
constructor(context) {
|
17466
17470
|
super(context);
|
17467
|
-
this.version = "0.4.
|
17471
|
+
this.version = "0.4.65-beta.0";
|
17468
17472
|
this.dependencies = { "dependencies": { "@juggle/resize-observer": "^3.3.1", "@netless/telebox-insider": "0.2.27", "emittery": "^0.9.2", "lodash": "^4.17.21", "p-retry": "^4.6.1", "side-effect-manager": "^0.1.5", "uuid": "^7.0.3", "video.js": ">=7" }, "peerDependencies": { "jspdf": "2.5.1", "white-web-sdk": "^2.16.0" }, "devDependencies": { "@netless/app-docs-viewer": "^0.2.16", "@netless/app-media-player": "0.1.0-beta.5", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-url": "^6.1.0", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.22", "@tsconfig/svelte": "^2.0.1", "@types/debug": "^4.1.7", "@types/lodash": "^4.14.182", "@types/lodash-es": "^4.17.4", "@types/uuid": "^8.3.1", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "@vitest/ui": "^0.14.1", "cypress": "^8.7.0", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-svelte3": "^3.2.0", "jsdom": "^19.0.0", "jspdf": "^2.5.1", "less": "^4.1.1", "prettier": "^2.3.2", "prettier-plugin-svelte": "^2.4.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-styles": "^3.14.1", "svelte": "^3.42.4", "typescript": "^4.5.5", "vite": "^2.5.3", "vitest": "^0.14.1", "white-web-sdk": "2.16.43" } };
|
17469
17473
|
this.emitter = callbacks$1;
|
17470
17474
|
this.viewMode = ViewMode.Broadcaster;
|