make reference strip always use the canvas drawer

This commit is contained in:
Tom 2023-12-21 15:29:25 -05:00
parent 1588f6b715
commit 40a4e42835

View File

@ -455,7 +455,7 @@ function loadPanels( strip, viewerSize, scroll ) {
animationTime: 0, animationTime: 0,
loadTilesWithAjax: strip.viewer.loadTilesWithAjax, loadTilesWithAjax: strip.viewer.loadTilesWithAjax,
ajaxHeaders: strip.viewer.ajaxHeaders, ajaxHeaders: strip.viewer.ajaxHeaders,
drawer: strip.viewer.drawer.constructor, //use the same drawer as the main viewer drawer: 'canvas', //always use canvas for the reference strip
} ); } );
// Allow pointer events to pass through miniViewer's canvas/container // Allow pointer events to pass through miniViewer's canvas/container
// elements so implicit pointer capture works on touch devices // elements so implicit pointer capture works on touch devices