@netless/telebox-insider 0.3.0-beta.0 → 0.3.0-beta.2
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/package.json
CHANGED
|
@@ -480,8 +480,8 @@ export class TeleBoxManager {
|
|
|
480
480
|
}
|
|
481
481
|
if (topBox && topBoxId !== topBox.id) {
|
|
482
482
|
this.makeBoxTop(topBox, skipUpdate);
|
|
483
|
-
this.focusTopBox();
|
|
484
483
|
this.topBox$.setValue(topBox);
|
|
484
|
+
this.focusTopBox();
|
|
485
485
|
}
|
|
486
486
|
if (this.maxTitleBar) {
|
|
487
487
|
this.maxTitleBar.setBoxesStatus(boxesStatus);
|
|
@@ -565,7 +565,7 @@ export class TeleBoxManager {
|
|
|
565
565
|
this.setBoxStatus(box.id, TELE_BOX_STATE.Normal);
|
|
566
566
|
} else {
|
|
567
567
|
this.boxes.forEach((box) => {
|
|
568
|
-
if (box.boxStatus
|
|
568
|
+
if (box.boxStatus === TELE_BOX_STATE.Normal) {
|
|
569
569
|
this.setBoxStatus(box.id, TELE_BOX_STATE.Maximized);
|
|
570
570
|
}
|
|
571
571
|
});
|