mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
set initial navigator animation time to viewport's
This commit is contained in:
parent
ef8e7ad9c5
commit
c2821b1775
@ -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,
|
||||
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user