dockview-react 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-react
3
- * @version 1.15.1
3
+ * @version 1.15.3
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -2772,7 +2772,7 @@
2772
2772
  this.doSetGroupActive(next);
2773
2773
  }
2774
2774
  layout(width, height, forceResize) {
2775
- const different = forceResize !== null && forceResize !== void 0 ? forceResize : (width !== this.width || height !== this.height);
2775
+ const different = forceResize || width !== this.width || height !== this.height;
2776
2776
  if (!different) {
2777
2777
  return;
2778
2778
  }
@@ -7876,6 +7876,8 @@
7876
7876
  const group = createGroupFromSerializedState(data);
7877
7877
  this.addFloatingGroup(group, {
7878
7878
  position: position,
7879
+ width: position.width,
7880
+ height: position.height,
7879
7881
  skipRemoveGroup: true,
7880
7882
  inDragMode: false,
7881
7883
  });