Closed jaykay-design closed 3 years ago
I got some strange device pixel ratios like 2.0000000298023224
I fixed it with changing line 24 to:
var environment = hasWindow ? Math.round(window.devicePixelRatio * 10) / 10 || 1 : 1;
I got some strange device pixel ratios like 2.0000000298023224
I fixed it with changing line 24 to:
var environment = hasWindow ? Math.round(window.devicePixelRatio * 10) / 10 || 1 : 1;