Add h shortcut for help dialog

auto_join_3.3
Roman Drozd 2020-05-09 00:09:52 +02:00
parent 13e611e177
commit 3624424e0a
2 changed files with 8 additions and 0 deletions

View File

@ -408,6 +408,13 @@ export default class RoomClient
break;
}
case 'H': // Open help dialog
{
store.dispatch(roomActions.setHelpOpen(true));
break;
}
default:
{
break;

View File

@ -17,6 +17,7 @@ import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
const shortcuts=[
{ key: 'h', label: 'room.help', defaultMessage: 'Help' },
{ key: 'm', label: 'device.muteAudio', defaultMessage: 'Mute Audio' },
{ key: 'v', label: 'device.stopVideo', defaultMessage: 'Mute Video' },
{ key: '1', label: 'label.democratic', defaultMessage: 'Democratic View' },