Skip to content

Commit 5e8d85b

Browse files
committed
💄
1 parent 817f2da commit 5e8d85b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/vs/workbench/api/common/extHostNotebook.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export class ExtHostNotebookEditor extends Disposable implements vscode.Notebook
561561
this._visible = value;
562562
}
563563

564-
_acceptActivity(value: boolean) {
564+
_acceptActive(value: boolean) {
565565
this._active = value;
566566
}
567567

@@ -1264,7 +1264,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
12641264
if (delta.newActiveEditor !== undefined) {
12651265
if (delta.newActiveEditor) {
12661266
this._activeNotebookEditor = this._editors.get(delta.newActiveEditor)?.editor;
1267-
this._activeNotebookEditor?._acceptActivity(true);
1267+
this._activeNotebookEditor?._acceptActive(true);
12681268
this._activeNotebookDocument = this._activeNotebookEditor ? this._documents.get(this._activeNotebookEditor!.uri.toString()) : undefined;
12691269
} else {
12701270
this._activeNotebookEditor = undefined;
@@ -1276,7 +1276,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
12761276

12771277
[...this._editors.values()].forEach((e) => {
12781278
if (e.editor !== this.activeNotebookEditor) {
1279-
e.editor._acceptActivity(false);
1279+
e.editor._acceptActive(false);
12801280
}
12811281
});
12821282
}

0 commit comments

Comments
 (0)