From 1f47f5def14954dbb89f6dd8087e6b7476343b71 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Mon, 31 Jul 2023 13:08:07 -0700 Subject: [PATCH 1/2] MouseTracker options docs fixes --- src/mousetracker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 8fa2b31c..20200b31 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -57,16 +57,16 @@ * @param {Boolean} [options.startDisabled=false] * If true, event tracking on the element will not start until * {@link OpenSeadragon.MouseTracker.setTracking|setTracking} is called. - * @param {Number} options.clickTimeThreshold + * @param {Number} [options.clickTimeThreshold=300] * The number of milliseconds within which a pointer down-up event combination * will be treated as a click gesture. - * @param {Number} options.clickDistThreshold + * @param {Number} [options.clickDistThreshold=5] * The maximum distance allowed between a pointer down event and a pointer up event * to be treated as a click gesture. - * @param {Number} options.dblClickTimeThreshold + * @param {Number} [options.dblClickTimeThreshold=300] * The number of milliseconds within which two pointer down-up event combinations * will be treated as a double-click gesture. - * @param {Number} options.dblClickDistThreshold + * @param {Number} [options.dblClickDistThreshold=20] * The maximum distance allowed between two pointer click events * to be treated as a click gesture. * @param {Number} [options.stopDelay=50] From fa8196ef4f8f970706dffca770410e6bdef58676 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Mon, 31 Jul 2023 13:16:36 -0700 Subject: [PATCH 2/2] changelog update --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 3fb0703c..d9154a76 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ OPENSEADRAGON CHANGELOG * DEPRECATION: The OpenSeadragon.createCallback function is no longer recommended (#2367 @akansjain) * Fixed: Sometimes if the viewport was flipped and the user zoomed in far enough, it would flip back (#2364 @SebDelile) * Test improvements (#2382 @AndrewADev) +* MouseTracker options documentation fixes (#2389 @msalsbery) 4.1.0: