mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Fix onDidChangeActiveWeview not getting fired when switching away from webviews
This commit is contained in:
@@ -148,10 +148,7 @@ export class ExtHostWebviews implements ExtHostWebviewsShape {
|
||||
}
|
||||
|
||||
$onDidChangeActiveWeview(handle: WebviewHandle | undefined): void {
|
||||
const webview = this.getWebview(handle);
|
||||
if (webview) {
|
||||
this._onDidChangeActiveWebview.fire(webview);
|
||||
}
|
||||
this._onDidChangeActiveWebview.fire(this.getWebview(handle));
|
||||
}
|
||||
|
||||
$onDidDisposeWeview(handle: WebviewHandle): Thenable<void> {
|
||||
|
||||
Reference in New Issue
Block a user