Merge pull request #652 from avandecreme/master

Fix coordinates demo.
This commit is contained in:
Ian Gilman 2015-05-11 10:55:02 -07:00
commit 18a66ce210

View File

@ -50,9 +50,9 @@
return point.x.toPrecision(4) + "," + point.y.toPrecision(4);
}
var onMouseTrackerMove = function(eventSender, eventData) {
var viewerX = eventData.position.x;
var viewerY = eventData.position.y;
var onMouseTrackerMove = function(event) {
var viewerX = event.position.x;
var viewerY = event.position.y;
var windowPoint = new OpenSeadragon.Point(viewerX, viewerY);
$("#windowPosition").text( pointToString(windowPoint));