summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-24 22:06:34 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-24 22:06:34 +0200
commite3d056a8807d52f95b7df9537ce931925b00d98f (patch)
treec3610de295177346d50f995c8b2ab72f35324127 /client-web/source/keybinds.ts
parent94d1c689bb2923285e8ec988aa7dc270302f1e55 (diff)
downloadkeks-meet-e3d056a8807d52f95b7df9537ce931925b00d98f.tar
keks-meet-e3d056a8807d52f95b7df9537ce931925b00d98f.tar.bz2
keks-meet-e3d056a8807d52f95b7df9537ce931925b00d98f.tar.zst
rework ui design, broke a lot of stuff
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())