mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
Merge branch 'master' into custom-electron-prompt
This commit is contained in:
@ -192,12 +192,13 @@ function setupLocalArrowShortcuts(options) {
|
||||
}
|
||||
|
||||
function callback(event) {
|
||||
event.preventDefault();
|
||||
switch (event.code) {
|
||||
case "ArrowUp":
|
||||
event.preventDefault();
|
||||
changeVolume(true, options);
|
||||
break;
|
||||
case "ArrowDown":
|
||||
event.preventDefault();
|
||||
changeVolume(false, options);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user