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
  */
@@ -187,7 +187,10 @@ define(['exports'], (function (exports) { 'use strict';
187
187
  return this._event;
188
188
  }
189
189
  fire(e) {
190
- this._last = e;
190
+ var _a;
191
+ if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.replay) {
192
+ this._last = e;
193
+ }
191
194
  for (const listener of this._listeners) {
192
195
  listener.callback(e);
193
196
  }
@@ -8223,7 +8226,7 @@ define(['exports'], (function (exports) { 'use strict';
8223
8226
  this.onDidPopoutGroupPositionChange = this._onDidPopoutGroupPositionChange.event;
8224
8227
  this._onDidLayoutFromJSON = new Emitter();
8225
8228
  this.onDidLayoutFromJSON = this._onDidLayoutFromJSON.event;
8226
- this._onDidActivePanelChange = new Emitter();
8229
+ this._onDidActivePanelChange = new Emitter({ replay: true });
8227
8230
  this.onDidActivePanelChange = this._onDidActivePanelChange.event;
8228
8231
  this._onDidMovePanel = new Emitter();
8229
8232
  this.onDidMovePanel = this._onDidMovePanel.event;