Add h shortcut for help dialog
parent
13e611e177
commit
3624424e0a
|
|
@ -408,6 +408,13 @@ export default class RoomClient
|
|||
break;
|
||||
}
|
||||
|
||||
case 'H': // Open help dialog
|
||||
{
|
||||
store.dispatch(roomActions.setHelpOpen(true));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue