mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 09:17:56 +01:00
Added mouse position info link in comments
This commit is contained in:
parent
b2fd2a2f77
commit
d156dc9902
@ -20,6 +20,7 @@
|
|||||||
_x = e.offsetX;
|
_x = e.offsetX;
|
||||||
_y = e.offsetY;
|
_y = e.offsetY;
|
||||||
} else {
|
} else {
|
||||||
|
// http://www.quirksmode.org/mobile/tableViewport_desktop.html#t11
|
||||||
var offset = $(element).offset();
|
var offset = $(element).offset();
|
||||||
_x = e.pageX - offset.left;
|
_x = e.pageX - offset.left;
|
||||||
_y = e.pageY - offset.top;
|
_y = e.pageY - offset.top;
|
||||||
|
Loading…
Reference in New Issue
Block a user