Merge pull request #845 from altert/smallfix

start/stop tracking outerTracker on setMouseNavEnabled
This commit is contained in:
Ian Gilman 2016-02-16 09:25:40 -08:00
commit 1338847ac5

View File

@ -779,6 +779,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
*/
setMouseNavEnabled: function( enabled ){
this.innerTracker.setTracking( enabled );
this.outerTracker.setTracking( enabled );
/**
* Raised when mouse/touch navigation is enabled or disabled (see {@link OpenSeadragon.Viewer#setMouseNavEnabled}).
*