From 3a8738fd4397ddce725b12c25eb27397ccce45f3 Mon Sep 17 00:00:00 2001 From: Mohit Bansal Date: Sun, 12 Feb 2023 12:43:41 +0530 Subject: [PATCH] spacing && documentation --- src/viewer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 93171d0f..9537115a 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2902,10 +2902,11 @@ 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. - * @property {Boolean} preventHorizontalPan - Set to true to prevent keyboard horizontal panning. 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 {?Object} userData - Arbitrary subscriber-defined object. */ + this.raiseEvent('canvas-key-press', canvasKeyPressEventArgs); } function onCanvasClick( event ) {