mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
add optional arrowkeys controls option
This commit is contained in:
10
plugins/precise-volume/menu.js
Normal file
10
plugins/precise-volume/menu.js
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = (win, options) => [
|
||||
{
|
||||
label: "Arrowkeys controls",
|
||||
type: "checkbox",
|
||||
checked: !!options.arrowsShortcut,
|
||||
click: (item) => {
|
||||
win.webContents.send("setArrowsShortcut", item.checked);
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user