mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 08:42:40 +00:00
Show speaker in the spotlight in large grids
This commit is contained in:
1 parent
12b719da95
commit
183d2d9050
1 file changed
+3
-1
@@ -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,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user