Fix line-height after rowContainer moved out of viewport

This commit is contained in:
Daniel Imms
2016-08-03 18:27:43 -07:00
parent 61201525a8
commit 0a34885fbc
+1
View File
@@ -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;