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

Поправил select для retina

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66525 954022d7-b5bf-4e40-9824-e11837661b57
parent 42d785c8
...@@ -2212,6 +2212,12 @@ ...@@ -2212,6 +2212,12 @@
var offs = $(t.canvasOverlay).offset(); var offs = $(t.canvasOverlay).offset();
var x = (event.pageX - offs.left) / t.kx; var x = (event.pageX - offs.left) / t.kx;
var y = (event.pageY - offs.top) / t.ky; var y = (event.pageY - offs.top) / t.ky;
if (AscBrowser.isRetina) {
x <<= 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