Merge remote-tracking branch 'origin/Touch-Bug-Fix'

This commit is contained in:
Mark Salsbery 2013-10-03 17:07:28 -07:00
commit 2f31395fc0
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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 );
}