|
|
|
|
43
|
* @returns {Object} An object is return with the desired number of columns,
|
43
|
* @returns {Object} An object is return with the desired number of columns,
|
44
|
* rows, and visible rows (the rest should overflow) for the tile view layout.
|
44
|
* rows, and visible rows (the rest should overflow) for the tile view layout.
|
45
|
*/
|
45
|
*/
|
46
|
-export function getTileViewGridDimensions_setpill(state: Object) {
|
|
|
|
|
46
|
+// export function getTileViewGridDimensions_setpill(state: Object) {
|
|
|
47
|
+export function getTileViewGridDimensions(state: Object) {
|
47
|
// When in tile view mode, we must discount ourselves (the local participant) because our
|
48
|
// When in tile view mode, we must discount ourselves (the local participant) because our
|
48
|
// tile is not visible.
|
49
|
// tile is not visible.
|
49
|
const { iAmRecorder } = state['features/base/config'];
|
50
|
const { iAmRecorder } = state['features/base/config'];
|
|
|
|
|
102
|
* @returns {Object} An object is return with the desired number of columns,
|
103
|
* @returns {Object} An object is return with the desired number of columns,
|
103
|
* rows, and visible rows (the rest might overflow) for the tile view layout.
|
104
|
* rows, and visible rows (the rest might overflow) for the tile view layout.
|
104
|
*/
|
105
|
*/
|
105
|
-export function getTileViewGridDimensions(state: Object, maxColumns: number = getMaxColumnCount()) {
|
|
|
|
|
106
|
+// export function getTileViewGridDimensions(state: Object, maxColumns: number = getMaxColumnCount()) {
|
|
|
107
|
+export function getTileViewGridDimensions_jfinn(state: Object, maxColumns: number = getMaxColumnCount()) {
|
106
|
// When in tile view mode, we must discount ourselves (the local participant) because our
|
108
|
// When in tile view mode, we must discount ourselves (the local participant) because our
|
107
|
// tile is not visible.
|
109
|
// tile is not visible.
|
108
|
const { iAmRecorder } = state['features/base/config'];
|
110
|
const { iAmRecorder } = state['features/base/config'];
|