Mac sends lowercase event.key even when holding Shift unlike Windows
							parent
							
								
									ee4a5b2208
								
							
						
					
					
						commit
						780aea1a36
					
				| 
						 | 
				
			
			@ -672,6 +672,7 @@ export default class RoomView extends React.Component<IProps, IState> {
 | 
			
		|||
                    handled = true;
 | 
			
		||||
                }
 | 
			
		||||
                break;
 | 
			
		||||
            case Key.U: // Mac returns lowercase
 | 
			
		||||
            case Key.U.toUpperCase():
 | 
			
		||||
                if (isOnlyCtrlOrCmdIgnoreShiftKeyEvent(ev) && ev.shiftKey) {
 | 
			
		||||
                    dis.dispatch({ action: "upload_file" });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue