From 6c5710506b42caba1bee0a26db18c0e786830a22 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Tue, 16 Feb 2021 10:16:46 +0300 Subject: [PATCH] [common] fixed condition for pixel ratio --- 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 de1210325..a63c375ac 100644 --- a/apps/common/main/lib/util/utils.js +++ b/apps/common/main/lib/util/utils.js @@ -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 {