dockview-core 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-core
3
- * @version 4.3.0
3
+ * @version 4.3.1
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -221,7 +221,10 @@
221
221
  return this._event;
222
222
  }
223
223
  fire(e) {
224
- this._last = e;
224
+ var _a;
225
+ if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.replay) {
226
+ this._last = e;
227
+ }
225
228
  for (const listener of this._listeners) {
226
229
  listener.callback(e);
227
230
  }
@@ -8257,7 +8260,7 @@
8257
8260
  this.onDidPopoutGroupPositionChange = this._onDidPopoutGroupPositionChange.event;
8258
8261
  this._onDidLayoutFromJSON = new Emitter();
8259
8262
  this.onDidLayoutFromJSON = this._onDidLayoutFromJSON.event;
8260
- this._onDidActivePanelChange = new Emitter();
8263
+ this._onDidActivePanelChange = new Emitter({ replay: true });
8261
8264
  this.onDidActivePanelChange = this._onDidActivePanelChange.event;
8262
8265
  this._onDidMovePanel = new Emitter();
8263
8266
  this.onDidMovePanel = this._onDidMovePanel.event;