mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 19:00:09 +00:00 
			
		
		
		
	minor cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									7812d0d40a
								
							
						
					
					
						commit
						099cd917e4
					
				| @ -323,7 +323,6 @@ function centerImage(image, mode){ | |||||||
| //		...this is to be done in the loader...
 | //		...this is to be done in the loader...
 | ||||||
| 
 | 
 | ||||||
| // NOTE: negative left or right will contract the ribbon...
 | // NOTE: negative left or right will contract the ribbon...
 | ||||||
| // XXX need to adjust ribbon position to compensate for ribbon shift...
 |  | ||||||
| function extendRibbon(left, right, ribbon){ | function extendRibbon(left, right, ribbon){ | ||||||
| 	ribbon = ribbon == null ?  | 	ribbon = ribbon == null ?  | ||||||
| 				$('.current.image').closest('.ribbon')  | 				$('.current.image').closest('.ribbon')  | ||||||
| @ -359,7 +358,7 @@ function extendRibbon(left, right, ribbon){ | |||||||
| 	// compensate for the truncation...
 | 	// compensate for the truncation...
 | ||||||
| 	// XXX do we need to split this into a separate function?
 | 	// XXX do we need to split this into a separate function?
 | ||||||
| 	// 		...the rest of the function if pretty generic...
 | 	// 		...the rest of the function if pretty generic...
 | ||||||
| 	// XXX for some odd reason this breaks in an unstable way when page
 | 	// XXX for some odd reason this behaves erratically when the page 
 | ||||||
| 	// 		is zoomed...
 | 	// 		is zoomed...
 | ||||||
| 	if(left != 0){ | 	if(left != 0){ | ||||||
| 		var l = parseFloat(ribbon.css('left')) | 		var l = parseFloat(ribbon.css('left')) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user