dockview-core 1.15.1 → 1.15.3

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 1.15.1
3
+ * @version 1.15.3
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -2768,7 +2768,7 @@ define(['exports'], (function (exports) { 'use strict';
2768
2768
  this.doSetGroupActive(next);
2769
2769
  }
2770
2770
  layout(width, height, forceResize) {
2771
- const different = forceResize !== null && forceResize !== void 0 ? forceResize : (width !== this.width || height !== this.height);
2771
+ const different = forceResize || width !== this.width || height !== this.height;
2772
2772
  if (!different) {
2773
2773
  return;
2774
2774
  }
@@ -7895,6 +7895,8 @@ define(['exports'], (function (exports) { 'use strict';
7895
7895
  const group = createGroupFromSerializedState(data);
7896
7896
  this.addFloatingGroup(group, {
7897
7897
  position: position,
7898
+ width: position.width,
7899
+ height: position.height,
7898
7900
  skipRemoveGroup: true,
7899
7901
  inDragMode: false,
7900
7902
  });