mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	minor changes (still flaky)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									1dcb9095c9
								
							
						
					
					
						commit
						75fc87fa94
					
				
							
								
								
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							| @ -16,7 +16,7 @@ var FIT_PAGE_TO_VIEW = true | |||||||
| var ANIMATE_WINDOW_RESIZE = true | var ANIMATE_WINDOW_RESIZE = true | ||||||
| 
 | 
 | ||||||
| // if true will disable page dragging in single page mode...
 | // if true will disable page dragging in single page mode...
 | ||||||
| var DRAG_FULL_PAGE = false | var DRAG_FULL_PAGE = true | ||||||
| 
 | 
 | ||||||
| // XXX make this default and remove the option...
 | // XXX make this default and remove the option...
 | ||||||
| // XXX this produces a funny animation that gets more ampletude the farther 
 | // XXX this produces a funny animation that gets more ampletude the farther 
 | ||||||
| @ -282,14 +282,10 @@ function fitNPages(n, fit_to_content){ | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	/* | 	if(_USE_REAL_SIZES){ | ||||||
| 	// position the pages correctly...
 | 		if(cur.hasClass('no-resize')){ | ||||||
| 	$('.magazine').css({ | 			rW = cur.width() | ||||||
| 		'margin-left': -rW/2 | 		} | ||||||
| 	}) |  | ||||||
| 	*/ |  | ||||||
| 	if(cur.hasClass('no-resize')){ |  | ||||||
| 		rW = cur.width() |  | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	// do the scaling... 
 | 	// do the scaling... 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user