mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix line-height after rowContainer moved out of viewport
This commit is contained in:
@@ -362,6 +362,7 @@
|
||||
if (size.height !== this.currentRowHeight) {
|
||||
this.currentRowHeight = size.height;
|
||||
this.viewportElement.style.lineHeight = size.height + 'px';
|
||||
this.terminal.rowContainer.style.lineHeight = size.height + 'px';
|
||||
}
|
||||
if (this.lastRecordedViewportHeight !== this.terminal.rows) {
|
||||
this.lastRecordedViewportHeight = this.terminal.rows;
|
||||
|
||||
Reference in New Issue
Block a user