diff --git a/src/lib/components/chat/ShortcutsModal.svelte b/src/lib/components/chat/ShortcutsModal.svelte index 2e0b66f7..2b643b2a 100644 --- a/src/lib/components/chat/ShortcutsModal.svelte +++ b/src/lib/components/chat/ShortcutsModal.svelte @@ -135,7 +135,7 @@
- S + .
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index e6d296f2..222a7d84 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -160,8 +160,8 @@ document.getElementById('delete-chat-button')?.click(); } - // Check if Ctrl + S is pressed - if (isCtrlPressed && event.key.toLowerCase() === 's') { + // Check if Ctrl + . is pressed + if (isCtrlPressed && event.key === '.') { event.preventDefault(); console.log('openSettings'); document.getElementById('open-settings-button')?.click();