Skip to content

Commit 25b58ba

Browse files
authored
Merge pull request microsoft#199101 from pimmee/main
Fix updating relative number for sticky scroll
2 parents a071691 + 3f1e998 commit 25b58ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export class StickyScrollController extends Disposable implements IEditorContrib
435435
if (lineNumberOption.renderType === RenderLineNumbersType.Relative) {
436436
this._sessionStore.add(this._editor.onDidChangeCursorPosition(() => {
437437
this._showEndForLine = null;
438-
this._renderStickyScroll();
438+
this._renderStickyScroll(-1);
439439
}));
440440
}
441441
}

0 commit comments

Comments
 (0)