yanas 8 роки тому
джерело
коміт
43906a4e30
2 змінених файлів з 7 додано та 2 видалено
  1. 6
    1
      interface_config.js
  2. 1
    1
      modules/UI/toolbars/Toolbar.js

+ 6
- 1
interface_config.js Переглянути файл

@@ -20,7 +20,12 @@ var interfaceConfig = { // eslint-disable-line no-unused-vars
20 20
     // the toolbar buttons line is intentionally left in one line, to be able
21 21
     // to easily override values or remove them using regex
22 22
     MAIN_TOOLBAR_BUTTONS: ['microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup'], // jshint ignore:line
23
-    MAIN_TOOLBAR_SPLITTER_INDEX: -1,
23
+    /**
24
+     * The index of the splitter button in the main toolbar. The splitter
25
+     * button is a button in the toolbar that will be applied a special styling
26
+     * visually dividing the toolbar buttons.
27
+     */
28
+    //MAIN_TOOLBAR_SPLITTER_INDEX: -1,
24 29
     TOOLBAR_BUTTONS: ['profile', 'authentication', 'microphone', 'camera', 'desktop', 'recording', 'security', 'raisehand', 'chat', 'etherpad', 'sharedvideo', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip', 'contacts'], // jshint ignore:line
25 30
     SETTINGS_SECTIONS: ['language', 'devices', 'moderator'],
26 31
     // Determines how the video would fit the screen. 'both' would fit the whole

+ 1
- 1
modules/UI/toolbars/Toolbar.js Переглянути файл

@@ -711,7 +711,7 @@ Toolbar = {
711 711
                     button,
712 712
                     (index === 0),
713 713
                     (index === interfaceConfig.MAIN_TOOLBAR_BUTTONS.length -1),
714
-                    (interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX
714
+                    (interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX !== undefined
715 715
                         && index
716 716
                             === interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX));
717 717
             }

Завантаження…
Відмінити
Зберегти