mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +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);
|
||||
}
|
||||
|
||||
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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user