From 9928a6d92572fc52c100deb0389a8cec949d1365 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Thu, 3 Oct 2013 12:11:33 -0700 Subject: [PATCH 1/2] Fix for touch event issue #240 --- src/mousetracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 5161c879..66e2a458 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -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 ); } From 47b32eaae9b3873a5659fad1d01581dec9c60e32 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Thu, 3 Oct 2013 15:51:44 -0700 Subject: [PATCH 2/2] changelog update for touch event issue #240 --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 1ea02eb6..dd039343 100644 --- a/changelog.txt +++ b/changelog.txt @@ -18,6 +18,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: