From e456035f295107382dae7b58ac302551146ad41a Mon Sep 17 00:00:00 2001 From: Araxeus Date: Fri, 30 Apr 2021 03:22:36 +0300 Subject: [PATCH] fix typo --- plugins/shortcuts/menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/shortcuts/menu.js b/plugins/shortcuts/menu.js index 443e052a..f7edabb6 100644 --- a/plugins/shortcuts/menu.js +++ b/plugins/shortcuts/menu.js @@ -13,8 +13,6 @@ function setOption(options, key = null, newValue = null) { module.exports = (win, options) => [ { label: "Set Global Song Controls", - type: "checkbox", - checked: true, click: () => promptKeybind(options, win) }, { @@ -25,6 +23,7 @@ module.exports = (win, options) => [ } ]; +//will not be needed if globalKeybinds will be an object function getGlobalKeybinds(options) { let playPause, next, previous; if (options.global) { @@ -44,6 +43,7 @@ function getGlobalKeybinds(options) { return { playPause, next, previous }; } +//will not be needed if globalKeybinds will be an object function setGlobalKeybinds(options, newShortcuts) { let didSet = {}; for (const shortcut in newShortcuts) {