dockview 4.3.0 → 4.3.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
3
- * @version 4.3.0
3
+ * @version 4.3.1
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -217,7 +217,10 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
217
217
  return this._event;
218
218
  }
219
219
  fire(e) {
220
- this._last = e;
220
+ var _a;
221
+ if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.replay) {
222
+ this._last = e;
223
+ }
221
224
  for (const listener of this._listeners) {
222
225
  listener.callback(e);
223
226
  }
@@ -8230,7 +8233,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
8230
8233
  this.onDidPopoutGroupPositionChange = this._onDidPopoutGroupPositionChange.event;
8231
8234
  this._onDidLayoutFromJSON = new Emitter();
8232
8235
  this.onDidLayoutFromJSON = this._onDidLayoutFromJSON.event;
8233
- this._onDidActivePanelChange = new Emitter();
8236
+ this._onDidActivePanelChange = new Emitter({ replay: true });
8234
8237
  this.onDidActivePanelChange = this._onDidActivePanelChange.event;
8235
8238
  this._onDidMovePanel = new Emitter();
8236
8239
  this.onDidMovePanel = this._onDidMovePanel.event;