From 2f2e69a6f5b3e140ec6c39af21e285d885da3be0 Mon Sep 17 00:00:00 2001 From: Radium Zheng Date: Wed, 18 Jul 2018 09:51:21 +1000 Subject: [PATCH] Add keyboard shortcuts for LocalRecordingInfoDialog Which key should we use? Using "L" for now. --- lang/main.json | 3 ++- react/features/toolbox/components/web/Toolbox.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lang/main.json b/lang/main.json index 9f8172fd2..22c3bbf96 100644 --- a/lang/main.json +++ b/lang/main.json @@ -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": { diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js index 244236444..5dfca6513 100644 --- a/react/features/toolbox/components/web/Toolbox.js +++ b/react/features/toolbox/components/web/Toolbox.js @@ -268,6 +268,11 @@ class Toolbox extends Component { character: 'S', exec: this._onShortcutToggleFullScreen, helpDescription: 'keyboardShortcuts.fullScreen' + }, + this._shouldShowButton('localrecording') && { + character: 'L', + exec: this._onToolbarToggleLocalRecordingInfoDialog, + helpDescription: 'keyboardShortcuts.localRecording' } ];