From 78928e351058636138e1a73956b203e680972a5f Mon Sep 17 00:00:00 2001 From: Mohit Bansal Date: Mon, 13 Feb 2023 23:01:19 +0530 Subject: [PATCH] add comment --- src/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index a809b759..ee84efdf 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2898,8 +2898,8 @@ function onCanvasKeyPress( event ) { * @property {OpenSeadragon.Viewer} eventSource - A reference to the Viewer which raised this event. * @property {Object} originalEvent - The original DOM event. * @property {Boolean} preventDefaultAction - Set to true to prevent default keyboard behaviour. Default: false. - * @property {Boolean} preventVerticalPan - Set to true to prevent keyboard vertical panning. Default: false. It has no longer any effect. - * @property {Boolean} preventHorizontalPan - Set to true to prevent keyboard horizontal panning. Default: false. It has no longer any effect. + * @property {Boolean} preventVerticalPan - No longer used, use the 'canvas-key' event instead. + * @property {Boolean} preventHorizontalPan - No longer used, use the 'canvas-key' event instead. * @property {?Object} userData - Arbitrary subscriber-defined object. */