Skip to content

Commit 797fd9c

Browse files
committed
change function name
1 parent 3804adf commit 797fd9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/workbench/contrib/interactive/browser/interactiveEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export class InteractiveEditor extends EditorPane {
670670
}
671671

672672
override focus() {
673-
this.#notebookWidget.value?.show();
673+
this.#notebookWidget.value?.onShow();
674674
this.#codeEditorWidget.focus();
675675
}
676676

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
19131913
}
19141914
}
19151915

1916-
show() {
1916+
onShow() {
19171917
this._isVisible = true;
19181918
}
19191919

0 commit comments

Comments
 (0)