@netless/window-manager 0.4.33 → 0.4.34
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/CHANGELOG.md +10 -0
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/App/AppProxy.ts +4 -0
- package/src/AppManager.ts +1 -0
package/package.json
CHANGED
package/src/App/AppProxy.ts
CHANGED
@@ -204,6 +204,10 @@ export class AppProxy implements PageRemoveService {
|
|
204
204
|
});
|
205
205
|
if (this.isAddApp && this.box) {
|
206
206
|
this.store.updateAppState(appId, AppAttributes.ZIndex, this.box.zIndex);
|
207
|
+
this.store.updateAppState(appId, AppAttributes.Size, {
|
208
|
+
width: this.box.intrinsicWidth,
|
209
|
+
height: this.box.intrinsicHeight
|
210
|
+
});
|
207
211
|
this.boxManager.focusBox({ appId }, false);
|
208
212
|
}
|
209
213
|
} catch (error: any) {
|
package/src/AppManager.ts
CHANGED
@@ -785,6 +785,7 @@ export class AppManager {
|
|
785
785
|
}
|
786
786
|
|
787
787
|
public async onReconnected() {
|
788
|
+
this.attributesUpdateCallback(this.attributes.apps);
|
788
789
|
const appProxies = Array.from(this.appProxies.values());
|
789
790
|
const reconnected = appProxies.map(appProxy => {
|
790
791
|
return appProxy.onReconnected();
|