From 183d2d9050ad9cac4ffc48588253c20ae8cd4158 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 7 Jun 2024 11:48:58 -0400 Subject: [PATCH] Show speaker in the spotlight in large grids --- src/state/CallViewModel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/state/CallViewModel.ts b/src/state/CallViewModel.ts index 31a1fdb3..3d48da22 100644 --- a/src/state/CallViewModel.ts +++ b/src/state/CallViewModel.ts @@ -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, }), );