mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Doc minor fix and trailing space removed
This commit is contained in:
parent
0bdc2df8ff
commit
ed169086e7
@ -428,7 +428,7 @@ function onCanvasDrag( event ) {
|
||||
preventDefaultAction: event.preventDefaultAction
|
||||
};
|
||||
/**
|
||||
* Raised when a click event occurs on the {@link OpenSeadragon.Viewer#navigator} element.
|
||||
* Raised when a drag event occurs on the {@link OpenSeadragon.Viewer#navigator} element.
|
||||
*
|
||||
* @event navigator-drag
|
||||
* @memberof OpenSeadragon.Viewer
|
||||
@ -444,7 +444,6 @@ function onCanvasDrag( event ) {
|
||||
* @property {?Object} userData - Arbitrary subscriber-defined object.
|
||||
* @property {Boolean} preventDefaultAction - Set to true to prevent default click to zoom behaviour. Default: false.
|
||||
*/
|
||||
|
||||
this.viewer.raiseEvent('navigator-drag', canvasDragEventArgs);
|
||||
|
||||
if ( !canvasDragEventArgs.preventDefaultAction && this.viewer.viewport ) {
|
||||
|
Loading…
Reference in New Issue
Block a user