From 0dde4f283ab972a2b4748840a9cf5b6f4f763627 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Sat, 6 Mar 2021 00:54:30 +0300 Subject: [PATCH] [common] changed scaling condition --- apps/common/main/lib/util/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/util/utils.js b/apps/common/main/lib/util/utils.js index 949e7185c..d277e4df4 100644 --- a/apps/common/main/lib/util/utils.js +++ b/apps/common/main/lib/util/utils.js @@ -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 {