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 ) {