|
@ -466,8 +466,8 @@ Range.prototype._pointerToDate = function (pointer) { |
|
|
*/ |
|
|
*/ |
|
|
function getPointer (touch, element) { |
|
|
function getPointer (touch, element) { |
|
|
return { |
|
|
return { |
|
|
x: touch.pageX - vis.util.getAbsoluteLeft(element), |
|
|
|
|
|
y: touch.pageY - vis.util.getAbsoluteTop(element) |
|
|
|
|
|
|
|
|
x: touch.pageX - util.getAbsoluteLeft(element), |
|
|
|
|
|
y: touch.pageY - util.getAbsoluteTop(element) |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|