Commit 2dfb7b6f authored by Oleg Korshul's avatar Oleg Korshul

android retina bug

parent 74befd8e
...@@ -116,7 +116,8 @@ AscBrowser.checkZoom = function() ...@@ -116,7 +116,8 @@ AscBrowser.checkZoom = function()
{ {
if (AscBrowser.isAndroid) if (AscBrowser.isAndroid)
{ {
AscBrowser.isRetina = (Math.abs(2 - (window.devicePixelRatio / AscBrowser.zoom)) < 0.01); AscBrowser.isRetina = (window.devicePixelRatio >= 1.9);
AscBrowser.retinaPixelRatio = window.devicePixelRatio;
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment