mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-30 03:30:09 +00:00 
			
		
		
		
	more digging...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									0475d25b09
								
							
						
					
					
						commit
						2c83d9a610
					
				| @ -120,14 +120,15 @@ $(document).ready(function(){ | ||||
| 
 | ||||
| 		.on('touchmove', function(evt){ | ||||
| 			evt.preventDefault() | ||||
| 			//var pos_x = evt.touches[0].pointX | ||||
| 			var pos_x = evt.pageX | ||||
| 			//var pos_x = event.touches[0].pointX | ||||
| 			var pos_x = event.pageX | ||||
| 
 | ||||
| 			console.log(event, event.pageX, event.clientX, event.touches) | ||||
| 
 | ||||
| 			if(_x == null){ | ||||
| 				_x = pos_x | ||||
| 			} | ||||
| 			var x = pos_x | ||||
| 			console.log(pos_x) | ||||
| 			if(scrolling){ | ||||
| 				var s = getMagazineShift() | ||||
| 				shiftMagazineTo(s + (x - _x)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user