Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
fix #6873
This commit is contained in:
		
					parent
					
						
							
								d4b204799d
							
						
					
				
			
			
				commit
				
					
						269a87b26f
					
				
			
		
					 8 changed files with 19 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -504,6 +504,11 @@ void NativeWindow::NotifyWindowScrollTouchEnd() {
 | 
			
		|||
                    OnWindowScrollTouchEnd());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void NativeWindow::NotifyWindowScrollTouchEdge() {
 | 
			
		||||
  FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
 | 
			
		||||
                    OnWindowScrollTouchEdge());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void NativeWindow::NotifyWindowSwipe(const std::string& direction) {
 | 
			
		||||
  FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
 | 
			
		||||
                    OnWindowSwipe(direction));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue