Changeset 26836 for extensions/modus/js/thumb.arrange.js
- Timestamp:
- Jan 17, 2014, 11:10:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/js/thumb.arrange.js
r25794 r26836 64 64 this.opts.rowHeight = Math.round(this.opts.rowHeight / dpr ) + this.opts.extraRowHeight; 65 65 } 66 else { 67 this.opts.resizeThreshold = 1.1; /*if row is less than 10% larger than available width, distribute extra width through cropping*/ 68 this.opts.resizeFactor = 0.8;/* when row is more than 10% larger than available width, distribute extra width 80% through resizing and 20% through cropping*/ 69 } 66 70 this.process(); 67 71 … … 74 78 that.process( down && that.$thumbs.width() == that.prevContainerWidth ? that.prevLastLineFirstThumbIndex : 0); 75 79 } ); 80 81 if (!$.isReady) { 82 $(document).ready( function() { 83 if ( that.$thumbs.width() < that.prevContainerWidth ) 84 that.process(); 85 } ); 86 } 76 87 } 77 88
Note: See TracChangeset
for help on using the changeset viewer.