Add 'v' shortcut

This commit is contained in:
Erik Johnston committed 2022-11-14 16:14:16 +00:00
1 parent 67b97e63ca
commit d09c3d8374
1 file changed
+4 -3
+4 -3
View File
@@ -417,12 +417,13 @@ export function useGroupCall(groupCall: GroupCall): UseGroupCallReturnType {
if (event.key === "m") { if (event.key === "m") {
toggleMicrophoneMuted(); toggleMicrophoneMuted();
} } else if (event.key == "v") {
if (event.key === " ") { toggleLocalVideoMuted();
} else if (event.key === " ") {
setMicrophoneMuted(false); setMicrophoneMuted(false);
} }
}, },
[toggleMicrophoneMuted, setMicrophoneMuted] [toggleLocalVideoMuted, toggleMicrophoneMuted, setMicrophoneMuted]
) )
); );