dockview-core 2.1.0 → 2.1.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview-core
3
- * @version 2.1.0
3
+ * @version 2.1.1
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -8534,7 +8534,7 @@ define(['exports'], (function (exports) { 'use strict';
8534
8534
  const refGroup = selectedGroup.referenceGroup
8535
8535
  ? this.getPanel(selectedGroup.referenceGroup)
8536
8536
  : undefined;
8537
- if (refGroup) {
8537
+ if (refGroup && refGroup.panels.length === 0) {
8538
8538
  this.removeGroup(refGroup);
8539
8539
  }
8540
8540
  }