Commit 4df511cd authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33448

parent 5c169aed
...@@ -2690,6 +2690,11 @@ ...@@ -2690,6 +2690,11 @@
var x = (((event.pageX * AscBrowser.zoom) >> 0) - offs.left) / this.kx; var x = (((event.pageX * AscBrowser.zoom) >> 0) - offs.left) / this.kx;
var y = (((event.pageY * AscBrowser.zoom) >> 0) - offs.top) / this.ky; var y = (((event.pageY * AscBrowser.zoom) >> 0) - offs.top) / this.ky;
if (AscBrowser.isRetina) {
x <<= 1;
y <<= 1;
}
return {x: x, y: y}; return {x: x, y: y};
}; };
......
...@@ -1604,7 +1604,6 @@ ...@@ -1604,7 +1604,6 @@
y <<= 1; y <<= 1;
} }
return {x: x, y: y}; 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