Only maximise a participant when the window is narrow, too
This commit is contained in:
parent
4a08ae75b3
commit
89fa9dfd64
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ export function InCallView({
|
||||||
// window is too small to show everyone
|
// window is too small to show everyone
|
||||||
const maximisedParticipant = useMemo(
|
const maximisedParticipant = useMemo(
|
||||||
() =>
|
() =>
|
||||||
fullscreenParticipant ?? bounds.height <= 500
|
fullscreenParticipant ?? (bounds.height <= 500 && bounds.width <= 500)
|
||||||
? items.find((item) => item.focused) ??
|
? items.find((item) => item.focused) ??
|
||||||
items.find((item) => item.callFeed) ??
|
items.find((item) => item.callFeed) ??
|
||||||
null
|
null
|
||||||
|
|
Loading…
Add table
Reference in a new issue