summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
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())