[common] fixed condition for pixel ratio

This commit is contained in:
Maxim Kadushkin 2021-02-16 10:16:46 +03:00
parent b3628313a2
commit 6c5710506b

View file

@ -141,7 +141,7 @@ Common.Utils = _.extend(new(function() {
$root.removeClass('pixel-ratio__2');
$root.addClass('pixel-ratio__1_5');
} else
if ( scale.devicePixelRatio > 1.5 && scale.devicePixelRatio < 2 ) {
if ( scale.devicePixelRatio > 1.5 /*&& scale.devicePixelRatio <= 2*/ ) {
$root.addClass('pixel-ratio__2');
$root.removeClass('pixel-ratio__1_5');
} else {