dockview 4.9.0 → 4.10.0
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/defaultTab.js +4 -0
- package/dist/dockview.amd.js +6 -2
- package/dist/dockview.amd.js.map +1 -1
- package/dist/dockview.amd.min.js +2 -2
- package/dist/dockview.amd.min.js.map +1 -1
- package/dist/dockview.amd.min.noStyle.js +2 -2
- package/dist/dockview.amd.min.noStyle.js.map +1 -1
- package/dist/dockview.amd.noStyle.js +6 -2
- package/dist/dockview.amd.noStyle.js.map +1 -1
- package/dist/dockview.cjs.js +6 -2
- package/dist/dockview.cjs.js.map +1 -1
- package/dist/dockview.esm.js +6 -2
- package/dist/dockview.esm.js.map +1 -1
- package/dist/dockview.esm.min.js +2 -2
- package/dist/dockview.esm.min.js.map +1 -1
- package/dist/dockview.js +6 -2
- package/dist/dockview.js.map +1 -1
- package/dist/dockview.min.js +2 -2
- package/dist/dockview.min.js.map +1 -1
- package/dist/dockview.min.noStyle.js +2 -2
- package/dist/dockview.min.noStyle.js.map +1 -1
- package/dist/dockview.noStyle.js +6 -2
- package/dist/dockview.noStyle.js.map +1 -1
- package/dist/esm/dockview/defaultTab.js +4 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.10.0
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -10273,8 +10273,8 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
10273
10273
|
accessor: this,
|
|
10274
10274
|
isVisible: true,
|
|
10275
10275
|
});
|
|
10276
|
-
this.registerPanel(view);
|
|
10277
10276
|
this.doAddGroup(view, relativeLocation, options.size);
|
|
10277
|
+
this.registerPanel(view);
|
|
10278
10278
|
this.doSetGroupActive(view);
|
|
10279
10279
|
return view;
|
|
10280
10280
|
}
|
|
@@ -11623,6 +11623,10 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
11623
11623
|
const disposable = api.onDidTitleChange((event) => {
|
|
11624
11624
|
setTitle(event.title);
|
|
11625
11625
|
});
|
|
11626
|
+
// Depending on the order in which React effects are run, the title may already be out of sync (cf. issue #1003).
|
|
11627
|
+
if (title !== api.title) {
|
|
11628
|
+
setTitle(api.title);
|
|
11629
|
+
}
|
|
11626
11630
|
return () => {
|
|
11627
11631
|
disposable.dispose();
|
|
11628
11632
|
};
|