Browse Source

Add keyboard shortcuts for LocalRecordingInfoDialog

Which key should we use? Using "L" for now.
master
Radium Zheng 7 years ago
parent
commit
2f2e69a6f5
2 changed files with 7 additions and 1 deletions
  1. 2
    1
      lang/main.json
  2. 5
    0
      react/features/toolbox/components/web/Toolbox.js

+ 2
- 1
lang/main.json View File

43
         "mute": "Mute or unmute your microphone",
43
         "mute": "Mute or unmute your microphone",
44
         "fullScreen": "View or exit full screen",
44
         "fullScreen": "View or exit full screen",
45
         "videoMute": "Start or stop your camera",
45
         "videoMute": "Start or stop your camera",
46
-        "showSpeakerStats": "Show speaker stats"
46
+        "showSpeakerStats": "Show speaker stats",
47
+        "localRecording": "Show or hide local recording controls"
47
     },
48
     },
48
     "welcomepage":{
49
     "welcomepage":{
49
         "accessibilityLabel": {
50
         "accessibilityLabel": {

+ 5
- 0
react/features/toolbox/components/web/Toolbox.js View File

268
                 character: 'S',
268
                 character: 'S',
269
                 exec: this._onShortcutToggleFullScreen,
269
                 exec: this._onShortcutToggleFullScreen,
270
                 helpDescription: 'keyboardShortcuts.fullScreen'
270
                 helpDescription: 'keyboardShortcuts.fullScreen'
271
+            },
272
+            this._shouldShowButton('localrecording') && {
273
+                character: 'L',
274
+                exec: this._onToolbarToggleLocalRecordingInfoDialog,
275
+                helpDescription: 'keyboardShortcuts.localRecording'
271
             }
276
             }
272
         ];
277
         ];
273
 
278
 

Loading…
Cancel
Save