[common] changed scaling condition

This commit is contained in:
Maxim Kadushkin 2021-03-06 00:54:30 +03:00
parent 71592eb4be
commit 0dde4f283a

View file

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