@netless/window-manager 0.4.9-canary.2 → 0.4.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/window-manager",
3
- "version": "0.4.9-canary.2",
3
+ "version": "0.4.9",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
package/src/AppProxy.ts CHANGED
@@ -92,7 +92,7 @@ export class AppProxy {
92
92
 
93
93
  public getFullScenePath(): string | undefined {
94
94
  if (this.scenePath) {
95
- return get(this.appAttributes, [Fields.FullPath], this.getFullScenePathFromScenes());
95
+ return get(this.appAttributes, [Fields.FullPath]) || this.getFullScenePathFromScenes();
96
96
  }
97
97
  }
98
98
 
@@ -347,6 +347,7 @@ export class AppProxy {
347
347
  if (fullPath && this.view) {
348
348
  setViewFocusScenePath(this.view, fullPath);
349
349
  }
350
+ return fullPath;
350
351
  }
351
352
 
352
353
  private async createView(): Promise<View> {