fix(ui): add voice mode mute shortcut to keyboard shortcuts modal (#25193)
This commit is contained in:
2 files changed
+16
-1
No files matched your search
+12
-1
@@ -40,7 +40,10 @@ export enum Shortcut {
|
||||
REGENERATE_RESPONSE = 'regenerateResponse',
|
||||
COPY_LAST_CODE_BLOCK = 'copyLastCodeBlock',
|
||||
COPY_LAST_RESPONSE = 'copyLastResponse',
|
||||
STOP_GENERATING = 'stopGenerating'
|
||||
STOP_GENERATING = 'stopGenerating',
|
||||
|
||||
//Voice
|
||||
TOGGLE_MUTE = 'toggleMute'
|
||||
}
|
||||
|
||||
export const shortcuts: ShortcutRegistry = {
|
||||
@@ -164,5 +167,13 @@ export const shortcuts: ShortcutRegistry = {
|
||||
name: 'Copy Last Code Block',
|
||||
keys: ['mod', 'shift', ';'],
|
||||
category: 'Message'
|
||||
},
|
||||
|
||||
//Voice
|
||||
[Shortcut.TOGGLE_MUTE]: {
|
||||
name: 'Toggle Mute',
|
||||
keys: ['M'],
|
||||
category: 'Voice',
|
||||
tooltip: 'Only active during Voice Mode.'
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user