This commit is contained in:
Robert Pintilii 2022-04-20 11:00:20 +03:00 committed by Hristo Terezov
parent 0abefa87aa
commit f9d1003527
3 changed files with 15 additions and 3 deletions

View File

@ -274,7 +274,11 @@ export function setStageFilmstripViewDimensions() {
const { numberOfVisibleTiles = MAX_ACTIVE_PARTICIPANTS } = tileView; const { numberOfVisibleTiles = MAX_ACTIVE_PARTICIPANTS } = tileView;
const numberOfParticipants = state['features/filmstrip'].activeParticipants.length; const numberOfParticipants = state['features/filmstrip'].activeParticipants.length;
const availableWidth = clientWidth - verticalWidth; const availableWidth = clientWidth - verticalWidth;
const maxColumns = getMaxColumnCount(state, { width: availableWidth }); const maxColumns = getMaxColumnCount(state, {
width: availableWidth,
disableResponsiveTiles: false,
disableTileEnlargement: false
});
const { const {
height, height,

View File

@ -111,3 +111,12 @@ export function isReorderingEnabled(state) {
export function isStageFilmstripAvailable() { export function isStageFilmstripAvailable() {
return false; return false;
} }
/**
* Whether the stage filmstrip should be displayed or not.
*
* @returns {boolean}
*/
export function shouldDisplayStageFilmstrip() {
return false;
}

View File

@ -9,8 +9,7 @@ import {
getPinnedParticipant, getPinnedParticipant,
getRemoteParticipants getRemoteParticipants
} from '../base/participants'; } from '../base/participants';
import { isStageFilmstripAvailable } from '../filmstrip/functions'; import { isStageFilmstripAvailable, shouldDisplayStageFilmstrip } from '../filmstrip/functions';
import { shouldDisplayStageFilmstrip } from '../filmstrip/functions.web';
import { import {
SELECT_LARGE_VIDEO_PARTICIPANT, SELECT_LARGE_VIDEO_PARTICIPANT,