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
							
								
									dd20bcdd27
								
							
						
					
					
						commit
						2243a78b4f
					
				| @ -121,15 +121,13 @@ $(document).ready(function(){ | |||||||
| 		.on('mousemove touchmove', function(evt){ | 		.on('mousemove touchmove', function(evt){ | ||||||
| 			//var t = evt.timeStamp || Date.now(); | 			//var t = evt.timeStamp || Date.now(); | ||||||
| 			//evt.preventDefault() | 			//evt.preventDefault() | ||||||
| 			console.log('move...') |  | ||||||
| 			if(_x == null){ | 			if(_x == null){ | ||||||
| 				_x = evt.clientX | 				_x = evt.clientX | ||||||
| 			} | 			} | ||||||
| 			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]') |  | ||||||
| 				var s = getMagazineShift() | 				var s = getMagazineShift() | ||||||
| 				logger.log('>>> '+s+'') | 				console.log('>>> '+s+'') | ||||||
| 				shiftMagazineTo(s + (x - _x)) | 				shiftMagazineTo(s + (x - _x)) | ||||||
| 			} | 			} | ||||||
| 			_x = x | 			_x = x | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user