mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +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,
|
showSequenceControl: false,
|
||||||
immediateRender: true,
|
immediateRender: true,
|
||||||
blendTime: 0,
|
blendTime: 0,
|
||||||
animationTime: 0,
|
animationTime: options.animationTime,
|
||||||
autoResize: options.autoResize,
|
autoResize: options.autoResize,
|
||||||
// prevent resizing the navigator from adding unwanted space around the image
|
// prevent resizing the navigator from adding unwanted space around the image
|
||||||
minZoomImageRatio: 1.0,
|
minZoomImageRatio: 1.0,
|
||||||
|
@ -448,7 +448,8 @@ $.Viewer = function( options ) {
|
|||||||
opacity: this.navigatorOpacity,
|
opacity: this.navigatorOpacity,
|
||||||
borderColor: this.navigatorBorderColor,
|
borderColor: this.navigatorBorderColor,
|
||||||
displayRegionColor: this.navigatorDisplayRegionColor,
|
displayRegionColor: this.navigatorDisplayRegionColor,
|
||||||
crossOriginPolicy: this.crossOriginPolicy
|
crossOriginPolicy: this.crossOriginPolicy,
|
||||||
|
animationTime: this.animationTime,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user