@netless/window-manager 1.0.13-test.12 → 1.0.13-test.14
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.d.ts +5 -1
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +67 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/ContainerResizeObserver.ts +6 -5
- package/src/View/MainView.ts +73 -16
package/dist/index.d.ts
CHANGED
|
@@ -770,6 +770,7 @@ declare class MainViewProxy {
|
|
|
770
770
|
private started;
|
|
771
771
|
private mainViewIsAddListener;
|
|
772
772
|
private mainViewResizeObserver?;
|
|
773
|
+
private isForcingMainViewDivElement;
|
|
773
774
|
private mainView;
|
|
774
775
|
private store;
|
|
775
776
|
private viewMode;
|
|
@@ -784,6 +785,7 @@ declare class MainViewProxy {
|
|
|
784
785
|
private get didRelease();
|
|
785
786
|
private moveCameraSizeByAttributes;
|
|
786
787
|
private refreshScreenSizeIfStale;
|
|
788
|
+
private forceSyncMainViewDivElement;
|
|
787
789
|
start(): void;
|
|
788
790
|
addCameraReaction: () => void;
|
|
789
791
|
setCameraAndSize(): void;
|
|
@@ -814,7 +816,9 @@ declare class MainViewProxy {
|
|
|
814
816
|
private disconnectMainViewResizeObserver;
|
|
815
817
|
private onResize;
|
|
816
818
|
private _syncMainViewTimer;
|
|
817
|
-
private
|
|
819
|
+
private handleCameraOrSizeUpdated;
|
|
820
|
+
private onCameraUpdated;
|
|
821
|
+
private onSizeUpdated;
|
|
818
822
|
private ensureMainViewSize;
|
|
819
823
|
private syncMainView;
|
|
820
824
|
moveCameraToContian(size: Size): void;
|