Commit dd5f0463 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix retina bug

parent 4ce06863
......@@ -1577,6 +1577,12 @@
var x = ((event.pageX * AscBrowser.zoom) >> 0) - offs.left;
var y = ((event.pageY * AscBrowser.zoom) >> 0) - offs.top;
if (AscBrowser.isRetina) {
x <<= 1;
y <<= 1;
}
return {x: x, y: y};
};
......
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