Left animation to top only for dialogs up button.
This commit is contained in:
		
							parent
							
								
									8aa0b31c1a
								
							
						
					
					
						commit
						60e36b1411
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -392,7 +392,8 @@ void DialogsWidget::jumpToTop() {
 | 
			
		|||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	if ((_filter->getLastText().trimmed().isEmpty() && !_searchInChat)) {
 | 
			
		||||
		scrollToTop();
 | 
			
		||||
		_scrollToAnimation.stop();
 | 
			
		||||
		_scroll->scrollToY(0);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue