mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Merge pull request #1742 from greggarson/respect-use-canvas-in-thumbnail-viewers
Pass useCanvas value down to reference strip viewers.
This commit is contained in:
commit
9767c027ba
@ -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