Pass useCanvas value down to reference strip viewers.

This commit is contained in:
Greg Garson 2019-11-19 17:05:03 -08:00
parent ce75ea9770
commit 8f0e876d4f
2 changed files with 3 additions and 1 deletions

View File

@ -451,7 +451,8 @@ function loadPanels( strip, viewerSize, scroll ) {
blendTime: 0,
animationTime: 0,
loadTilesWithAjax: strip.viewer.loadTilesWithAjax,
ajaxHeaders: strip.viewer.ajaxHeaders
ajaxHeaders: strip.viewer.ajaxHeaders,
useCanvas: strip.useCanvas
} );
miniViewer.displayRegion = $.makeNeutralElement( "div" );

View File

@ -2227,6 +2227,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
width: this.referenceStripWidth,
tileSources: this.tileSources,
prefixUrl: this.prefixUrl,
useCanvas: this.useCanvas,
viewer: this
});