mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-31 00:52:32 +00:00
Add 'v' shortcut
This commit is contained in:
1 parent
67b97e63ca
commit
d09c3d8374
1 file changed
+4
-3
@@ -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]
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user