Merge pull request #5233 from matrix-org/t3chguy/fix/15231
Fix Cmd/Ctrl+Shift+U for File Uploadpull/21833/head
commit
4d34e40680
|
@ -672,9 +672,10 @@ 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" });
|
||||
dis.dispatch({ action: "upload_file" }, true);
|
||||
handled = true;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue