mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-03 04:40:10 +00:00 
			
		
		
		
	more tweeks to pinching (seems not to work with swiping)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									02560c9dce
								
							
						
					
					
						commit
						c841676aa4
					
				@ -1238,8 +1238,8 @@ function setupEvents(){
 | 
				
			|||||||
	// XXX pinch: do gradual zooming...
 | 
						// XXX pinch: do gradual zooming...
 | 
				
			||||||
	$('.viewer')
 | 
						$('.viewer')
 | 
				
			||||||
		.swipe({
 | 
							.swipe({
 | 
				
			||||||
			pinchIn: ImageGrid.scaleContainerDown,
 | 
								pinchIn: ImageGrid.scaleContainerUp,
 | 
				
			||||||
			pinchOut: ImageGrid.scaleContainerUp,
 | 
								pinchOut: ImageGrid.scaleContainerDown,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			fingers: '2'
 | 
								fingers: '2'
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user