Files
jitsi-meet/react/features/toolbox/constants.js
Avram Tudor 62c78950cd feat(toolbox) allow any toolbox button to be displayed in main toolbar (#9488)
* feat(toolbox) allow any toolbox button to be displayed as main

fixes the previous behaviour where only a certain set of buttons were whitelisted for being displayed in the main toolbar

* code review

* code review - fix avatar icon position
2021-07-08 16:42:07 +03:00

30 lines
708 B
JavaScript

/**
* Thresholds for displaying toolbox buttons
*/
export const THRESHOLDS = [
{
width: 520,
order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants', 'tileview' ]
},
{
width: 470,
order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants' ]
},
{
width: 420,
order: [ 'microphone', 'camera', 'desktop', 'chat', 'participants' ]
},
{
width: 370,
order: [ 'microphone', 'camera', 'chat', 'participants' ]
},
{
width: 320,
order: [ 'microphone', 'camera', 'chat' ]
},
{
width: 270,
order: [ 'microphone', 'camera' ]
}
];