Comparing version 3.14.0-beta5 to 3.14.0-beta6
@@ -93,3 +93,3 @@ "use strict"; | ||
var _this = this; | ||
this.dimensions.scaledCharWidth = Math.floor(this._terminal.charMeasure.width * window.devicePixelRatio); | ||
this.dimensions.scaledCharWidth = this._terminal.charMeasure.width * window.devicePixelRatio; | ||
this.dimensions.scaledCharHeight = Math.ceil(this._terminal.charMeasure.height * window.devicePixelRatio); | ||
@@ -96,0 +96,0 @@ this.dimensions.scaledCellWidth = this.dimensions.scaledCharWidth + Math.round(this._terminal.options.letterSpacing); |
{ | ||
"name": "xterm", | ||
"description": "Full xterm terminal, in your browser", | ||
"version": "3.14.0-beta5", | ||
"version": "3.14.0-beta6", | ||
"main": "lib/public/Terminal.js", | ||
@@ -6,0 +6,0 @@ "types": "typings/xterm.d.ts", |
@@ -104,3 +104,3 @@ /** | ||
private _updateDimensions(): void { | ||
this.dimensions.scaledCharWidth = Math.floor(this._terminal.charMeasure.width * window.devicePixelRatio); | ||
this.dimensions.scaledCharWidth = this._terminal.charMeasure.width * window.devicePixelRatio; | ||
this.dimensions.scaledCharHeight = Math.ceil(this._terminal.charMeasure.height * window.devicePixelRatio); | ||
@@ -107,0 +107,0 @@ this.dimensions.scaledCellWidth = this.dimensions.scaledCharWidth + Math.round(this._terminal.options.letterSpacing); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2571636