Skip to content

Commit

Permalink
Merge pull request #198356 from microsoft/tyriar/198352
Browse files Browse the repository at this point in the history
Fix sticky scroll positioning to avoid bg leaking through
  • Loading branch information
Tyriar authored Nov 15, 2023
2 parents cbab473 + d7b119f commit 7f2da72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class TerminalStickyScrollOverlay extends Disposable {
const termBox = xterm.element.getBoundingClientRect();
const rowHeight = termBox.height / xterm.rows;
const overlayHeight = stickyScrollLineCount * rowHeight;
this._element.style.bottom = `${termBox.height - overlayHeight}px`;
this._element.style.bottom = `${termBox.height - overlayHeight + 1}px`;
}
} else {
this._setVisible(false);
Expand Down

0 comments on commit 7f2da72

Please sign in to comment.