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