Kaynağa Gözat

Add keyboard shortcuts for LocalRecordingInfoDialog

Which key should we use? Using "L" for now.
master
Radium Zheng 7 yıl önce
ebeveyn
işleme
2f2e69a6f5

+ 2
- 1
lang/main.json Dosyayı Görüntüle

@@ -43,7 +43,8 @@
43 43
         "mute": "Mute or unmute your microphone",
44 44
         "fullScreen": "View or exit full screen",
45 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 49
     "welcomepage":{
49 50
         "accessibilityLabel": {

+ 5
- 0
react/features/toolbox/components/web/Toolbox.js Dosyayı Görüntüle

@@ -268,6 +268,11 @@ class Toolbox extends Component<Props> {
268 268
                 character: 'S',
269 269
                 exec: this._onShortcutToggleFullScreen,
270 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…
İptal
Kaydet