@netless/telebox-insider 0.3.0-beta.0 → 0.3.0-beta.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/telebox-insider",
3
- "version": "0.3.0-beta.0",
3
+ "version": "0.3.0-beta.1",
4
4
  "private": false,
5
5
  "description": "Window widget for Whiteboard",
6
6
  "author": "CRIMX <straybugs@gmail.com> (https://github.com/crimx/)",
@@ -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 !== TELE_BOX_STATE.Maximized) {
568
+ if (box.boxStatus === TELE_BOX_STATE.Normal) {
569
569
  this.setBoxStatus(box.id, TELE_BOX_STATE.Maximized);
570
570
  }
571
571
  });