Add 'v' shortcut

This commit is contained in:
Erik Johnston 2022-11-14 16:14:16 +00:00
parent 67b97e63ca
commit d09c3d8374

View File

@ -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]
)
);