mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	fixed a bug with finger/touch count detection...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									0bbb0aeb6b
								
							
						
					
					
						commit
						48b1793592
					
				| @ -112,8 +112,8 @@ function makeSwipeHandler(actionA, actionB){ | ||||
| 		//setTransitionEasing(mag, 'ease-out')
 | ||||
| 		setTransitionEasing(mag, 'cubic-bezier(0.33,0.66,0.66,1)') | ||||
| 
 | ||||
| 		if(data.fingers == 2){ | ||||
| 			actionA($('.current.page')) | ||||
| 		if(data.touches >= 2){ | ||||
| 			actionB($('.current.page')) | ||||
| 		} else { | ||||
| 			actionA($('.current.page')) | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user