From d43c854c9f61d05b1bad7812f20298d3036e40f6 Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Thu, 11 Feb 2016 23:54:31 +0300 Subject: [PATCH] start/stop tracking outerTracker on setMouseNavEnabled --- src/viewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viewer.js b/src/viewer.js index ca77de89..b1342e88 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -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}). *