Scroll immediately to bottom when scrollOnUserInput is enabled

See microsoft/vscode#211199
This commit is contained in:
Daniel Imms
2024-07-11 09:36:22 -07:00
parent 73ee951807
commit 90a1da28bd
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export class Viewport extends Disposable {
}
public scrollToLine(line: number, disableSmoothScroll?: boolean): void {
if (!disableSmoothScroll) {
if (disableSmoothScroll) {
this._latestYDisp = line;
}
this._scrollableElement.setScrollPosition({