mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
Fix sticky scroll positioning to avoid bg leaking through
Fixes #198352
This commit is contained in:
parent
8943ea4790
commit
d7b119fc34
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue