提交 0d351bd5 编写于 作者: R Rob Lourens

NOTEBOOK_EDITOR_FOCUSED context key not initialized with correct value

Fix #93952
上级 8f894e8b
......@@ -148,6 +148,7 @@ export class NotebookEditor extends BaseEditor implements INotebookEditor {
this.createBody(this.rootElement);
this.generateFontInfo();
this.editorFocus = NOTEBOOK_EDITOR_FOCUSED.bindTo(this.contextKeyService);
this.editorFocus.set(true);
this._register(this.onDidFocus(() => {
this.editorFocus?.set(true);
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册