dock-spawn-ts
Advanced tools
Comparing version 2.280.0 to 2.290.0
@@ -402,4 +402,7 @@ import { DockWheel } from "./DockWheel.js"; | ||
this.activePanel = null; | ||
if (this._activeDocument == container) | ||
if (this._activeDocument == container) { | ||
const last = this._activeDocument; | ||
this._activeDocument = null; | ||
this.notifyOnActiveDocumentChange(null, last); | ||
} | ||
} | ||
@@ -521,4 +524,7 @@ /** | ||
this.activePanel = null; | ||
if (this._activeDocument == panel) | ||
if (this._activeDocument == panel) { | ||
const last = this._activeDocument; | ||
this._activeDocument = null; | ||
this.notifyOnActiveDocumentChange(null, last); | ||
} | ||
this.layoutEventListeners.forEach((listener) => { | ||
@@ -525,0 +531,0 @@ if (listener.onClosePanel) { |
{ | ||
"name": "dock-spawn-ts", | ||
"version": "2.280.0", | ||
"version": "2.290.0", | ||
"description": "DockSpawn Typescript Version", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -489,4 +489,7 @@ import { DockWheel } from "./DockWheel.js"; | ||
this.activePanel = null; | ||
if (this._activeDocument == container) | ||
if (this._activeDocument == container) { | ||
const last = this._activeDocument; | ||
this._activeDocument = null; | ||
this.notifyOnActiveDocumentChange(null, last); | ||
} | ||
} | ||
@@ -632,4 +635,7 @@ | ||
this.activePanel = null; | ||
if (this._activeDocument == panel) | ||
if (this._activeDocument == panel) { | ||
const last = this._activeDocument; | ||
this._activeDocument = null; | ||
this.notifyOnActiveDocumentChange(null, last); | ||
} | ||
this.layoutEventListeners.forEach((listener) => { | ||
@@ -636,0 +642,0 @@ if (listener.onClosePanel) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
721337
10154