xterm-addon-webgl
Advanced tools
Comparing version 0.12.0-beta.5 to 0.12.0-beta.6
@@ -162,3 +162,3 @@ "use strict"; | ||
if (this._state) { | ||
if (window.devicePixelRatio % 1 !== 0) { | ||
if (window.devicePixelRatio < 1) { | ||
this._clearAll(); | ||
@@ -165,0 +165,0 @@ } |
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.12.0-beta.5", | ||
"version": "0.12.0-beta.6", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -196,4 +196,4 @@ /** | ||
if (this._state) { | ||
// Avoid potential rounding errors when device pixel ratio is an odd number | ||
if (window.devicePixelRatio % 1 !== 0) { | ||
// Avoid potential rounding errors when device pixel ratio is less than 1 | ||
if (window.devicePixelRatio < 1) { | ||
this._clearAll(); | ||
@@ -200,0 +200,0 @@ } else { |
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
611437