@netless/telebox-insider 1.0.0-alpha.32 → 1.0.0-alpha.33

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.
@@ -390,8 +390,8 @@ class TeleBox {
390
390
  },
391
391
  onEvent: (event) => this._delegateEvents.emit(event.type)
392
392
  });
393
- this._sideEffect.addDisposer(boxRatio$.subscribe((boxRatio2) => {
394
- if (boxRatio2 > 0) {
393
+ this._sideEffect.addDisposer(combine([boxRatio$, minimized$]).subscribe(([boxRatio2, minimized]) => {
394
+ if (!minimized && boxRatio2 > 0) {
395
395
  this.transform(pxIntrinsicCoord$.value.x, pxIntrinsicCoord$.value.y, pxIntrinsicSize$.value.width, pxIntrinsicSize$.value.height);
396
396
  }
397
397
  }));