From 5a9874e4fa61dff60fe8ae82110f3f2b7ce696da Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Thu, 13 Aug 2020 10:09:17 -0700 Subject: [PATCH] changelog update --- changelog.txt | 3 +++ src/mousetracker.js | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/changelog.txt b/changelog.txt index 79025147..7bbc562c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -22,6 +22,9 @@ OPENSEADRAGON CHANGELOG * Added pointerType property to Viewer container-enter, container-exit, canvas-drag, canvas-drag-end, canvas-pinch events * MouseTracker: Fire dragEndHandler event even if release point same as initial contact point (#1459) * MouseTracker: Pointer capture implemented with capture APIs where available. Only fallback to emulated capture on extremely old browsers +* MouseTracker: Added preProcessEventHandler option to allow MouseTracker instances to control bubbling and default behavior of events on their associated element +* Updated Viewer, Button, Drawer, Navigator, ReferenceStrip DOM for proper DOM event handling +* Added OpenSeadragon.setElementPointerEventsNone() for setting pointer-events:'none' on DOM elements 2.4.2: diff --git a/src/mousetracker.js b/src/mousetracker.js index 33a6e880..0ebf03a0 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -4218,10 +4218,11 @@ if ( updateGPoint ) { stopTrackingPointer( pointsList, updateGPoint ); - } else { - // should never get here? - $.console.warn('updatePointerUp(): pointerup on untracked gPoint'); } + //else { + // // should never get here? + // $.console.warn('updatePointerCancel(): pointercancel on untracked gPoint'); + //} }