mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/save: keyboard shortcut for muted mode
This commit is contained in:
parent
97d381e993
commit
8b801bad50
2 changed files with 6 additions and 4 deletions
|
@ -69,13 +69,15 @@
|
|||
case 'D':
|
||||
pasteClipboard();
|
||||
break;
|
||||
case 'K':
|
||||
case 'J':
|
||||
changeDownloadMode('auto');
|
||||
break;
|
||||
case 'L':
|
||||
case 'K':
|
||||
changeDownloadMode('audio');
|
||||
break;
|
||||
// TODO: keyboard shortcut for "muted" mode
|
||||
case 'L':
|
||||
changeDownloadMode('mute');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -51,4 +51,4 @@ export type CobaltSettings = {
|
|||
privacy: CobaltSettingsPrivacy,
|
||||
};
|
||||
|
||||
export type DownloadModeOption = CobaltSettings['save']['downloadMode'];
|
||||
export type DownloadModeOption = CobaltSettings['save']['downloadMode'];
|
||||
|
|
Loading…
Reference in a new issue