mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-30 19:40:12 +00:00 
			
		
		
		
	more digging...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									dfec81f982
								
							
						
					
					
						commit
						8b42b6a165
					
				| @ -120,9 +120,9 @@ $(document).ready(function(){ | ||||
| 
 | ||||
| 		.on('mousemove touchmove', function(evt){ | ||||
| 			//var t = evt.timeStamp || Date.now(); | ||||
| 			console.log('moving...') | ||||
| 			evt.preventDefault() | ||||
| 			if(evt.touches && evt.touches.length > 0){ | ||||
| 			if(evt.touches != null && evt.touches.length > 0){ | ||||
| 				console.log('touching!!!') | ||||
| 				var pos_x = evt.touches[0].pointX | ||||
| 			} else { | ||||
| 				var pos_x = evt.clientX | ||||
| @ -132,7 +132,7 @@ $(document).ready(function(){ | ||||
| 				_x = pos_x | ||||
| 			} | ||||
| 			var x = pos_x | ||||
| 			console.log(pos_x) | ||||
| 			//console.log(pos_x) | ||||
| 			if(scrolling){ | ||||
| 				var s = getMagazineShift() | ||||
| 				shiftMagazineTo(s + (x - _x)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user