Only maximise a participant when the window is narrow, too
This commit is contained in:
1 parent
4a08ae75b3
commit
89fa9dfd64
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user