未验证 提交 022e0abc 编写于 作者: R Rob Lourens 提交者: GitHub

Merge pull request #138428 from microsoft/roblou/fixCellEditorFocus

Always fire onDidChangeState when focusMode is set
......@@ -104,10 +104,8 @@ export abstract class BaseCellViewModel extends Disposable {
return this._focusMode;
}
set focusMode(newMode: CellFocusMode) {
if (this._focusMode !== newMode) {
this._focusMode = newMode;
this._onDidChangeState.fire({ focusModeChanged: true });
}
this._focusMode = newMode;
this._onDidChangeState.fire({ focusModeChanged: true });
}
protected _textEditor?: ICodeEditor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册