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.
- package/dist/cjs/dockview/dockviewComponent.js +2 -0
- package/dist/cjs/gridview/baseComponentGridview.js +1 -1
- package/dist/dockview-core.amd.js +5 -3
- package/dist/dockview-core.amd.js.map +1 -1
- package/dist/dockview-core.amd.min.js +2 -2
- package/dist/dockview-core.amd.min.js.map +1 -1
- package/dist/dockview-core.amd.min.noStyle.js +2 -2
- package/dist/dockview-core.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-core.amd.noStyle.js +4 -2
- package/dist/dockview-core.amd.noStyle.js.map +1 -1
- package/dist/dockview-core.cjs.js +5 -3
- package/dist/dockview-core.cjs.js.map +1 -1
- package/dist/dockview-core.esm.js +5 -3
- package/dist/dockview-core.esm.js.map +1 -1
- package/dist/dockview-core.esm.min.js +2 -2
- package/dist/dockview-core.esm.min.js.map +1 -1
- package/dist/dockview-core.js +5 -3
- package/dist/dockview-core.js.map +1 -1
- package/dist/dockview-core.min.js +2 -2
- package/dist/dockview-core.min.js.map +1 -1
- package/dist/dockview-core.min.noStyle.js +2 -2
- package/dist/dockview-core.min.noStyle.js.map +1 -1
- package/dist/dockview-core.noStyle.js +4 -2
- package/dist/dockview-core.noStyle.js.map +1 -1
- package/dist/esm/dockview/dockviewComponent.js +2 -0
- package/dist/esm/gridview/baseComponentGridview.js +1 -1
- package/dist/styles/dockview.css +1 -1
- package/package.json +1 -1
|
@@ -786,6 +786,8 @@ export class DockviewComponent extends BaseGrid {
|
|
|
786
786
|
const group = createGroupFromSerializedState(data);
|
|
787
787
|
this.addFloatingGroup(group, {
|
|
788
788
|
position: position,
|
|
789
|
+
width: position.width,
|
|
790
|
+
height: position.height,
|
|
789
791
|
skipRemoveGroup: true,
|
|
790
792
|
inDragMode: false,
|
|
791
793
|
});
|
|
@@ -185,7 +185,7 @@ export class BaseGrid extends Resizable {
|
|
|
185
185
|
this.doSetGroupActive(next);
|
|
186
186
|
}
|
|
187
187
|
layout(width, height, forceResize) {
|
|
188
|
-
const different = forceResize
|
|
188
|
+
const different = forceResize || width !== this.width || height !== this.height;
|
|
189
189
|
if (!different) {
|
|
190
190
|
return;
|
|
191
191
|
}
|
package/dist/styles/dockview.css
CHANGED