mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	more digging...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									865261125f
								
							
						
					
					
						commit
						a63a401cc5
					
				| @ -118,6 +118,7 @@ $(document).ready(function(){ | |||||||
| 		}) | 		}) | ||||||
| 
 | 
 | ||||||
| 		.on('mousemove touchmove', function(evt){ | 		.on('mousemove touchmove', function(evt){ | ||||||
|  | 			logger.log('[drag]') | ||||||
| 			//var t = evt.timeStamp || Date.now(); | 			//var t = evt.timeStamp || Date.now(); | ||||||
| 			evt.preventDefault() | 			evt.preventDefault() | ||||||
| 			if(_x == null){ | 			if(_x == null){ | ||||||
| @ -125,7 +126,6 @@ $(document).ready(function(){ | |||||||
| 			} | 			} | ||||||
| 			var x = evt.clientX | 			var x = evt.clientX | ||||||
| 			if(scrolling && Math.abs(x-_x) > 6){ | 			if(scrolling && Math.abs(x-_x) > 6){ | ||||||
| 				//logger.log('[drag]') |  | ||||||
| 				shiftMagazineTo(getMagazineShift() + (x - _x)) | 				shiftMagazineTo(getMagazineShift() + (x - _x)) | ||||||
| 			} | 			} | ||||||
| 			_x = x | 			_x = x | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user