mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
differenciate onFocusWidget and onFocusWebview.
This commit is contained in:
@@ -131,7 +131,7 @@ export class MainThreadNotebooksAndEditors {
|
||||
private _handleEditorAdd(editor: INotebookEditor): void {
|
||||
this._editorListeners.set(editor.getId(), combinedDisposable(
|
||||
editor.onDidChangeModel(() => this._updateState()),
|
||||
editor.onDidFocus(() => this._updateState(editor)),
|
||||
editor.onDidFocusWidget(() => this._updateState(editor)),
|
||||
));
|
||||
this._updateState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user