@netless/telebox-insider 0.2.32-beta.0 → 0.2.32

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.
@@ -2384,6 +2384,9 @@ class MaxTitleBar extends DefaultTitleBar {
2384
2384
  }
2385
2385
  setBoxes(boxes) {
2386
2386
  this.boxes = boxes;
2387
+ if (this.$titleBar) {
2388
+ this.$titleBar.classList.toggle(this.wrapClassName("max-titlebar-maximized"), this.state === exports.TELE_BOX_STATE.Maximized && boxes.length > 0);
2389
+ }
2387
2390
  this.updateTitles();
2388
2391
  }
2389
2392
  setState(state) {