From d9271a69a44bece50c010b38d5fb7ece33e45d69 Mon Sep 17 00:00:00 2001 From: Jay Smith Date: Thu, 3 Oct 2019 14:47:16 +1000 Subject: [PATCH] Correct gestureSettingsPan typo in docs gestureSettingsPan.zoomToRefPoint to gestureSettingsPen.zoomToRefPoint --- src/openseadragon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openseadragon.js b/src/openseadragon.js index e3d9aed7..8ecd2f3b 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -353,7 +353,7 @@ * @property {Boolean} [gestureSettingsPen.dblClickToZoom=false] - Zoom on double-click gesture. Note: If set to true * then clickToZoom should be set to false to prevent multiple zooms. * @property {Boolean} [gestureSettingsPen.pinchToZoom=false] - Zoom on pinch gesture - * @property {Boolean} [gestureSettingsPan.zoomToRefPoint=true] - If zoomToRefPoint is true, the zoom is centered at the pointer position. Otherwise, + * @property {Boolean} [gestureSettingsPen.zoomToRefPoint=true] - If zoomToRefPoint is true, the zoom is centered at the pointer position. Otherwise, * the zoom is centered at the canvas center. * @property {Boolean} [gestureSettingsPen.flickEnabled=false] - Enable flick gesture * @property {Number} [gestureSettingsPen.flickMinSpeed=120] - If flickEnabled is true, the minimum speed to initiate a flick gesture (pixels-per-second)