mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Merge pull request #242 from msalsbery/Touch-Bug-Fix
Fix for touch event issue #240
This commit is contained in:
commit
d88ce4a970
@ -19,6 +19,7 @@ OPENSEADRAGON CHANGELOG
|
||||
* MouseTracker now passes the original event objects to its handler methods (#23)
|
||||
* MouseTracker now supports an optional 'moveHandler' method for tracking mousemove events (#215)
|
||||
* Fixed: Element-relative mouse coordinates now correct if the element and/or page is scrolled (using new OpenSeadragon.getElementOffset() method) (#131)
|
||||
* Fixed: Touch event issue where no canvas-click events were being raised (#240)
|
||||
|
||||
0.9.131:
|
||||
|
||||
|
@ -1020,7 +1020,7 @@
|
||||
function onMouseUpCaptured( tracker, event, noRelease, isTouch ) {
|
||||
isTouch = isTouch || false;
|
||||
|
||||
if ( !THIS[ tracker.hash ].insideElement ) {
|
||||
if ( !THIS[ tracker.hash ].insideElement || isTouch ) {
|
||||
onMouseUp( tracker, event, isTouch );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user