diff --git a/src/navigator.js b/src/navigator.js index 81993b74..dfd1a7fa 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -107,7 +107,7 @@ $.Navigator = function( options ){ showSequenceControl: false, immediateRender: true, blendTime: 0, - animationTime: 0, + animationTime: options.animationTime, autoResize: options.autoResize, // prevent resizing the navigator from adding unwanted space around the image minZoomImageRatio: 1.0, diff --git a/src/viewer.js b/src/viewer.js index 985ba468..2b6a6b4a 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -448,7 +448,8 @@ $.Viewer = function( options ) { opacity: this.navigatorOpacity, borderColor: this.navigatorBorderColor, displayRegionColor: this.navigatorDisplayRegionColor, - crossOriginPolicy: this.crossOriginPolicy + crossOriginPolicy: this.crossOriginPolicy, + animationTime: this.animationTime, }); }