Don't show reaction button while selecting text.
This commit is contained in:
		
							parent
							
								
									5fe2e649fb
								
							
						
					
					
						commit
						72df3a8f91
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -2966,6 +2966,7 @@ auto HistoryInner::reactionButtonParameters(
 | 
				
			||||||
	if (top < 0
 | 
						if (top < 0
 | 
				
			||||||
		|| !view->data()->canReact()
 | 
							|| !view->data()->canReact()
 | 
				
			||||||
		|| _mouseAction == MouseAction::Dragging
 | 
							|| _mouseAction == MouseAction::Dragging
 | 
				
			||||||
 | 
							|| _mouseAction == MouseAction::Selecting
 | 
				
			||||||
		|| inSelectionMode()) {
 | 
							|| inSelectionMode()) {
 | 
				
			||||||
		return {};
 | 
							return {};
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue