mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Pass useCanvas value down to reference strip viewers.
This commit is contained in:
parent
ce75ea9770
commit
8f0e876d4f
@ -451,7 +451,8 @@ function loadPanels( strip, viewerSize, scroll ) {
|
|||||||
blendTime: 0,
|
blendTime: 0,
|
||||||
animationTime: 0,
|
animationTime: 0,
|
||||||
loadTilesWithAjax: strip.viewer.loadTilesWithAjax,
|
loadTilesWithAjax: strip.viewer.loadTilesWithAjax,
|
||||||
ajaxHeaders: strip.viewer.ajaxHeaders
|
ajaxHeaders: strip.viewer.ajaxHeaders,
|
||||||
|
useCanvas: strip.useCanvas
|
||||||
} );
|
} );
|
||||||
|
|
||||||
miniViewer.displayRegion = $.makeNeutralElement( "div" );
|
miniViewer.displayRegion = $.makeNeutralElement( "div" );
|
||||||
|
@ -2227,6 +2227,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
width: this.referenceStripWidth,
|
width: this.referenceStripWidth,
|
||||||
tileSources: this.tileSources,
|
tileSources: this.tileSources,
|
||||||
prefixUrl: this.prefixUrl,
|
prefixUrl: this.prefixUrl,
|
||||||
|
useCanvas: this.useCanvas,
|
||||||
viewer: this
|
viewer: this
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user