This commit is contained in:
rebornix
2021-03-31 14:41:21 -07:00
parent 7c8891965b
commit c0299f4948
3 changed files with 16 additions and 16 deletions

View File

@@ -161,7 +161,7 @@ export class MainThreadNotebookEditors implements MainThreadNotebookEditorsShape
return;
}
const viewModel = notebookEditor.viewModel;
const cell = viewModel.viewCells[range.start];
const cell = viewModel.cellAt(range.start);
if (!cell) {
return;
}