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.
This commit is contained in:
Jonas Daniel 2015-02-09 21:19:30 +01:00
parent 07027275a1
commit f5f6ee5831

View File

@ -224,7 +224,7 @@ $.ReferenceStrip = function ( options ) {
this.panels.push( element ); 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 ); this.setFocus( 0 );
}; };