mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
Explain why speaking indicators are hidden
This commit is contained in:
parent
3a706ea3e0
commit
42be187182
@ -722,7 +722,11 @@ export class CallViewModel extends ViewModel {
|
|||||||
// speaking indicators as they're a redundant visual cue. But if
|
// speaking indicators as they're a redundant visual cue. But if
|
||||||
// screen sharing feeds are in the spotlight we still need them.
|
// screen sharing feeds are in the spotlight we still need them.
|
||||||
return l.spotlight[0] instanceof ScreenShareViewModel;
|
return l.spotlight[0] instanceof ScreenShareViewModel;
|
||||||
|
// In expanded spotlight layout, the active speaker is always shown in
|
||||||
|
// the picture-in-picture tile so there is no need for speaking
|
||||||
|
// indicators
|
||||||
case "spotlight-expanded":
|
case "spotlight-expanded":
|
||||||
|
// In one-on-one layout there's no question as to who is speaking
|
||||||
case "one-on-one":
|
case "one-on-one":
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user