mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 06:13:31 +03:00
commit
18a66ce210
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue