From 10cee7a9278289f659e8d3941a1bc1e29e8dfbb3 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 18 Feb 2021 16:44:18 +0300 Subject: [PATCH] [common] changed function to check scaling value --- 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..39b5f2ffa 100644 --- a/apps/common/main/lib/util/utils.js +++ b/apps/common/main/lib/util/utils.js @@ -148,7 +148,7 @@ Common.Utils = _.extend(new(function() { $root.removeClass('pixel-ratio__1_5'); } - me.zoom = scale.correct ? scale.zoom : 1; + me.zoom = scale.correct ? 1 / scale.zoom : 1; me.innerWidth = window.innerWidth * me.zoom; me.innerHeight = window.innerHeight * me.zoom; };