mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
Add 'v' shortcut
This commit is contained in:
@@ -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]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user