mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Add 'v' shortcut
This commit is contained in:
parent
67b97e63ca
commit
d09c3d8374
@ -417,12 +417,13 @@ export function useGroupCall(groupCall: GroupCall): UseGroupCallReturnType {
|
||||
|
||||
if (event.key === "m") {
|
||||
toggleMicrophoneMuted();
|
||||
}
|
||||
if (event.key === " ") {
|
||||
} else if (event.key == "v") {
|
||||
toggleLocalVideoMuted();
|
||||
} else if (event.key === " ") {
|
||||
setMicrophoneMuted(false);
|
||||
}
|
||||
},
|
||||
[toggleMicrophoneMuted, setMicrophoneMuted]
|
||||
[toggleLocalVideoMuted, toggleMicrophoneMuted, setMicrophoneMuted]
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user