Skip to content

Commit

Permalink
Show speaker in the spotlight in large grids
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Jun 7, 2024
1 parent 3e519e9 commit 3244514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/state/CallViewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ export class CallViewModel extends ViewModel {
(grid, spotlight, screenShares): Layout => ({
type: "grid",
spotlight:
screenShares.length > 0 ? spotlight : undefined,
screenShares.length > 0 || grid.length > 20
? spotlight
: undefined,
grid,
}),
);
Expand Down

0 comments on commit 3244514

Please sign in to comment.