Disables speaker stats in filmStrip only mode.
This commit is contained in:
parent
a2ebc169e4
commit
59d4523d72
|
@ -1,4 +1,4 @@
|
||||||
/* global APP, $, JitsiMeetJS */
|
/* global APP, $, JitsiMeetJS, interfaceConfig */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
toggleDialog
|
toggleDialog
|
||||||
|
@ -34,12 +34,14 @@ function initGlobalShortcuts() {
|
||||||
});
|
});
|
||||||
KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk");
|
KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk");
|
||||||
|
|
||||||
KeyboardShortcut.registerShortcut("T", null, () => {
|
if(!interfaceConfig.filmStripOnly) {
|
||||||
JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked");
|
KeyboardShortcut.registerShortcut("T", null, () => {
|
||||||
APP.store.dispatch(toggleDialog(SpeakerStats, {
|
JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked");
|
||||||
conference: APP.conference
|
APP.store.dispatch(toggleDialog(SpeakerStats, {
|
||||||
}));
|
conference: APP.conference
|
||||||
}, "keyboardShortcuts.showSpeakerStats");
|
}));
|
||||||
|
}, "keyboardShortcuts.showSpeakerStats");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FIXME: Currently focus keys are directly implemented below in onkeyup.
|
* FIXME: Currently focus keys are directly implemented below in onkeyup.
|
||||||
|
|
Loading…
Reference in New Issue