summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2023-06-24 22:22:33 +0200
committertpart <tpart120@proton.me>2023-06-24 22:22:33 +0200
commit466aee544b95a866305731df4642927583d4eb90 (patch)
treee150ec304e65ed8d90cdb5b8e1fdce85df41137c /client-web/source/keybinds.ts
parentea501df4775cb2686ef5f2e2bbee1d5c69d00941 (diff)
parente3d056a8807d52f95b7df9537ce931925b00d98f (diff)
downloadkeks-meet-466aee544b95a866305731df4642927583d4eb90.tar
keks-meet-466aee544b95a866305731df4642927583d4eb90.tar.bz2
keks-meet-466aee544b95a866305731df4642927583d4eb90.tar.zst
Merge branch 'master' of codeberg.org:metamuffin/keks-meet
Diffstat (limited to 'client-web/source/keybinds.ts')
-rw-r--r--client-web/source/keybinds.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/client-web/source/keybinds.ts b/client-web/source/keybinds.ts
index fb17259..1864565 100644
--- a/client-web/source/keybinds.ts
+++ b/client-web/source/keybinds.ts
@@ -15,9 +15,10 @@ export function setup_keybinds(room: Room) {
if (ev.target instanceof HTMLInputElement && !(ev.target.type == "button")) return
if (ev.repeat) return
if (ev.code == "Enter" && ev.ctrlKey) {
- room.chat.shown = !room.chat.shown
- if (room.chat.shown) room.chat.focus()
- ev.preventDefault() // so focused buttons dont trigger
+ // TODO! show chat
+ // room.chat.shown = !room.chat.shown
+ // if (room.chat.shown) room.chat.focus()
+ // ev.preventDefault() // so focused buttons dont trigger
}
if (ev.shiftKey) {
if (ev.code == "KeyM" || ev.code == "KeyR") room.local_user.await_add_resource(create_mic_res())