Add hotkey for opening media files (#12498)
* [WiP] Add hotkey to open media * Give focus to play/pause button when opening video modal
This commit is contained in:
		
							parent
							
								
									667708f5b0
								
							
						
					
					
						commit
						a690b3e470
					
				
					 5 changed files with 40 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -100,6 +100,7 @@ const keyMap = {
 | 
			
		|||
  goToRequests: 'g r',
 | 
			
		||||
  toggleHidden: 'x',
 | 
			
		||||
  toggleSensitive: 'h',
 | 
			
		||||
  openMedia: 'e',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
class SwitchingColumnsArea extends React.PureComponent {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue