[common] fixed condition for pixel ratio
This commit is contained in:
parent
b3628313a2
commit
6c5710506b
|
@ -141,7 +141,7 @@ Common.Utils = _.extend(new(function() {
|
||||||
$root.removeClass('pixel-ratio__2');
|
$root.removeClass('pixel-ratio__2');
|
||||||
$root.addClass('pixel-ratio__1_5');
|
$root.addClass('pixel-ratio__1_5');
|
||||||
} else
|
} else
|
||||||
if ( scale.devicePixelRatio > 1.5 && scale.devicePixelRatio < 2 ) {
|
if ( scale.devicePixelRatio > 1.5 /*&& scale.devicePixelRatio <= 2*/ ) {
|
||||||
$root.addClass('pixel-ratio__2');
|
$root.addClass('pixel-ratio__2');
|
||||||
$root.removeClass('pixel-ratio__1_5');
|
$root.removeClass('pixel-ratio__1_5');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue