Skip to content

Commit

Permalink
Fix sticky scroll positioning to avoid bg leaking through
Browse files Browse the repository at this point in the history
Fixes #198352
  • Loading branch information
Tyriar committed Nov 15, 2023
1 parent 8943ea4 commit d7b119f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,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 d7b119f

Please sign in to comment.