@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.
|
@@ -2906,8 +2906,8 @@ class TeleBoxManager {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
if (topBox && topBoxId !== topBox.id) {
|
|
2908
2908
|
this.makeBoxTop(topBox, skipUpdate);
|
|
2909
|
-
this.focusTopBox();
|
|
2910
2909
|
this.topBox$.setValue(topBox);
|
|
2910
|
+
this.focusTopBox();
|
|
2911
2911
|
}
|
|
2912
2912
|
if (this.maxTitleBar) {
|
|
2913
2913
|
this.maxTitleBar.setBoxesStatus(boxesStatus);
|
|
@@ -2976,7 +2976,7 @@ class TeleBoxManager {
|
|
|
2976
2976
|
this.setBoxStatus(box.id, exports.TELE_BOX_STATE.Normal);
|
|
2977
2977
|
} else {
|
|
2978
2978
|
this.boxes.forEach((box2) => {
|
|
2979
|
-
if (box2.boxStatus
|
|
2979
|
+
if (box2.boxStatus === exports.TELE_BOX_STATE.Normal) {
|
|
2980
2980
|
this.setBoxStatus(box2.id, exports.TELE_BOX_STATE.Maximized);
|
|
2981
2981
|
}
|
|
2982
2982
|
});
|