]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Fix line-height after rowContainer moved out of viewport
authorDaniel Imms <daimms@microsoft.com>
Thu, 4 Aug 2016 01:27:43 +0000 (18:27 -0700)
committerDaniel Imms <daimms@microsoft.com>
Thu, 4 Aug 2016 01:27:43 +0000 (18:27 -0700)
src/xterm.js

index 0d8a33edfeb271d412ff8e483a415b2d446bffad..573863f8c9e2bd2a32d4b1e3da6915cba1beb259 100644 (file)
         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;