mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 09:41:45 +03:00
MouseTracker Original Events in Handlers
More formatting fixes
This commit is contained in:
parent
5f6b89b8b5
commit
8229a9aba5
@ -198,9 +198,9 @@ $.ReferenceStrip = function ( options ) {
|
|||||||
now = $.now();
|
now = $.now();
|
||||||
|
|
||||||
if ( eventData.insideElementPress &&
|
if ( eventData.insideElementPress &&
|
||||||
eventData.insideElementRelease &&
|
eventData.insideElementRelease &&
|
||||||
tracker.dragging &&
|
tracker.dragging &&
|
||||||
( now - tracker.dragging ) < tracker.clickTimeThreshold ) {
|
( now - tracker.dragging ) < tracker.clickTimeThreshold ) {
|
||||||
tracker.dragging = null;
|
tracker.dragging = null;
|
||||||
viewer.goToPage( page );
|
viewer.goToPage( page );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user