diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-16 21:20:52 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-16 21:20:52 +0200 |
commit | 52b7bf7a052d2da6c71db7695dde73716cb0e4e5 (patch) | |
tree | bd582773a2d60e54286c450bc9595b398d76582d /client-web/source/keybinds.ts | |
parent | a3cc9f8fb1bf45741b08ce6d383c4d7cc8ea8b1f (diff) | |
download | keks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar keks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar.bz2 keks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar.zst |
optional streams (3, less bugs)
Diffstat (limited to 'client-web/source/keybinds.ts')
-rw-r--r-- | client-web/source/keybinds.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/keybinds.ts b/client-web/source/keybinds.ts index bbae1b8..028e119 100644 --- a/client-web/source/keybinds.ts +++ b/client-web/source/keybinds.ts @@ -21,7 +21,7 @@ export function setup_keybinds(room: Room) { if (ev.code == "KeyM" || ev.code == "KeyR") room.local_user.await_add_resource(room.local_user.create_mic_res()) if (ev.code == "KeyS") room.local_user.await_add_resource(room.local_user.create_screencast_res()) if (ev.code == "KeyC" && !ev.ctrlKey) room.local_user.await_add_resource(room.local_user.create_camera_res()) - if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.end()) + if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.destroy()) } command_mode = false }) |