From f5f6ee5831b96d10ebd324091626c77910e3204d Mon Sep 17 00:00:00 2001 From: Jonas Daniel Date: Mon, 9 Feb 2015 21:19:30 +0100 Subject: [PATCH] Fixed x/y typo in reference strip. Typo caused horizontal strip to be rendered only relative to height, not to width as it should. On typical landscape sized screens this forced only ~half the reference strip to be (pre-)rendered at any time. --- src/referencestrip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/referencestrip.js b/src/referencestrip.js index 97833e58..aef4e93e 100644 --- a/src/referencestrip.js +++ b/src/referencestrip.js @@ -224,7 +224,7 @@ $.ReferenceStrip = function ( options ) { this.panels.push( element ); } - loadPanels( this, this.scroll == 'vertical' ? viewerSize.y : viewerSize.y, 0 ); + loadPanels( this, this.scroll == 'vertical' ? viewerSize.y : viewerSize.x, 0 ); this.setFocus( 0 ); };