This commit is contained in:
rebornix 2021-03-09 22:07:54 -08:00
parent 1d686afe81
commit 96fabf5cf9
No known key found for this signature in database
GPG key ID: 181FC90D15393C20

View file

@ -77,6 +77,7 @@ export class CodeCell extends Disposable {
const updateForFocusMode = () => {
if (this.notebookEditor.getSelection().start !== this.notebookEditor.viewModel.getCellIndex(viewCell)) {
templateData.container.classList.toggle('cell-editor-focus', viewCell.focusMode === CellFocusMode.Editor);
return;
}