From e88d1b65186c4a26bd95a006a7e9b3d71b4f69da Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 15 Oct 2020 18:19:05 +0300 Subject: [PATCH] Fix Bug 46597 --- apps/common/main/lib/component/ComboBoxFonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index 8d0092329..8b2f48c50 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -301,7 +301,7 @@ define([ if (callback) { this.spriteThumbs = new Image(); this.spriteThumbs.onload = callback; - this.spriteThumbs.src = (window.devicePixelRatio > 1) ? thumbPath2x : thumbPath; + this.spriteThumbs.src = isRetina ? thumbPath2x : thumbPath; } },