forked from EVOgeek/Vmeda.Online
		
	MOBILE-3814 swipe: Limit angle on gesture
This commit is contained in:
		
							parent
							
								
									ae2f087856
								
							
						
					
					
						commit
						0097b78963
					
				| @ -56,7 +56,9 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy { | |||||||
|             el: this.element, |             el: this.element, | ||||||
|             gestureName: 'swipe', |             gestureName: 'swipe', | ||||||
|             threshold: 10, |             threshold: 10, | ||||||
|  |             direction: 'x', | ||||||
|             gesturePriority: 10, |             gesturePriority: 10, | ||||||
|  |             maxAngle: 20, | ||||||
|             canStart: () => this.enabled, |             canStart: () => this.enabled, | ||||||
|             onStart: () => { |             onStart: () => { | ||||||
|                 style.transition = ''; |                 style.transition = ''; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user