We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1dbd72 commit bb012a1Copy full SHA for bb012a1
src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts
@@ -1271,7 +1271,7 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
1271
1272
private _revealInView(viewIndex: number) {
1273
const firstIndex = this.view.firstVisibleIndex;
1274
- if (viewIndex < firstIndex) {
+ if (viewIndex <= firstIndex) {
1275
this._revealInternal(viewIndex, true, CellRevealPosition.Top);
1276
} else {
1277
this._revealInternal(viewIndex, true, CellRevealPosition.Bottom);
0 commit comments