mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +03:00
Fix coordinates demo.
This commit is contained in:
parent
f57b957390
commit
f5ede70018
@ -50,9 +50,9 @@
|
|||||||
return point.x.toPrecision(4) + "," + point.y.toPrecision(4);
|
return point.x.toPrecision(4) + "," + point.y.toPrecision(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
var onMouseTrackerMove = function(eventSender, eventData) {
|
var onMouseTrackerMove = function(event) {
|
||||||
var viewerX = eventData.position.x;
|
var viewerX = event.position.x;
|
||||||
var viewerY = eventData.position.y;
|
var viewerY = event.position.y;
|
||||||
var windowPoint = new OpenSeadragon.Point(viewerX, viewerY);
|
var windowPoint = new OpenSeadragon.Point(viewerX, viewerY);
|
||||||
$("#windowPosition").text( pointToString(windowPoint));
|
$("#windowPosition").text( pointToString(windowPoint));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user