Add keyboard shortcuts for LocalRecordingInfoDialog

Which key should we use? Using "L" for now.
This commit is contained in:
Radium Zheng 2018-07-18 09:51:21 +10:00
parent 0490a3cf73
commit 2f2e69a6f5
2 changed files with 7 additions and 1 deletions

View File

@ -43,7 +43,8 @@
"mute": "Mute or unmute your microphone",
"fullScreen": "View or exit full screen",
"videoMute": "Start or stop your camera",
"showSpeakerStats": "Show speaker stats"
"showSpeakerStats": "Show speaker stats",
"localRecording": "Show or hide local recording controls"
},
"welcomepage":{
"accessibilityLabel": {

View File

@ -268,6 +268,11 @@ class Toolbox extends Component<Props> {
character: 'S',
exec: this._onShortcutToggleFullScreen,
helpDescription: 'keyboardShortcuts.fullScreen'
},
this._shouldShowButton('localrecording') && {
character: 'L',
exec: this._onToolbarToggleLocalRecordingInfoDialog,
helpDescription: 'keyboardShortcuts.localRecording'
}
];