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 Jul 3, 2024
1 parent a3631ea commit 7ea5082
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 @@ -504,7 +504,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 7ea5082

Please sign in to comment.