mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 20:10:13 +00:00 
			
		
		
		
	minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									b5da226ccd
								
							
						
					
					
						commit
						d2633e48b2
					
				| @ -206,6 +206,8 @@ var MIN_STEP = 0 | ||||
| // XXX make this a drop-in replacement for setElementTransform...
 | ||||
| // XXX cleanup, still flacky...
 | ||||
| function animateElementTo(elem, to, duration, easing, speed){ | ||||
| 	// stop all ongoing animations on the current elem...
 | ||||
| 	stopAnimation(elem) | ||||
| 	// use transition for animation...
 | ||||
| 	if(USE_TRANSITIONS_FOR_ANIMATION){ | ||||
| 		setTransitionEasing(elem, easing) | ||||
| @ -371,7 +373,7 @@ function getMagazineOffset(page, scale, align){ | ||||
| 
 | ||||
| 
 | ||||
| function getPageNumber(page){ | ||||
| 	// a page is given explicitly, get the next one...
 | ||||
| 	// a page/element is given explicitly...
 | ||||
| 	if(page != null){ | ||||
| 		page = $(page) | ||||
| 		if(!page.hasClass('page')){ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user