Skip to content

Commit

Permalink
Merge 82134ec into 70981c7
Browse files Browse the repository at this point in the history
  • Loading branch information
whydoubt committed Nov 8, 2018
2 parents 70981c7 + 82134ec commit 5f2cf3b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/renderer/dom/DomRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ export class DomRenderer extends EventEmitter implements IRenderer {
this._dimensionsStyleElement.innerHTML = styles;

this._selectionContainer.style.height = (<any>this._terminal)._viewportElement.style.height;
this._rowContainer.style.width = `${this.dimensions.canvasWidth}px`;
this._rowContainer.style.height = `${this.dimensions.canvasHeight}px`;
this._terminal.screenElement.style.width = '';
this._terminal.screenElement.style.height = '';
this._terminal.screenElement.style.width = `${this.dimensions.canvasWidth}px`;
this._terminal.screenElement.style.height = `${this.dimensions.canvasHeight}px`;
}

public setTheme(theme: ITheme | undefined): IColorSet {
Expand Down

0 comments on commit 5f2cf3b

Please sign in to comment.