From f5ede7001888402c3301440a79859ab93f0d43a1 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Sat, 9 May 2015 12:49:32 -0400 Subject: [PATCH] Fix coordinates demo. --- test/demo/coordinates.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/demo/coordinates.html b/test/demo/coordinates.html index be8cbb4c..c240120a 100644 --- a/test/demo/coordinates.html +++ b/test/demo/coordinates.html @@ -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));