diff --git a/windows/spotify/Sing!/sing.js b/windows/spotify/Sing!/sing.js index 6ba2f25..f09fca7 100755 --- a/windows/spotify/Sing!/sing.js +++ b/windows/spotify/Sing!/sing.js @@ -64,11 +64,9 @@ const Sing = function(){ $('#sing-sync').click(); }); $('a[id*=\'nav-\']').not('#nav-sing').click(function(){ - $('#sing-ui').fadeOut(function() { - var v = $(this).is(':visible'); - $('#nav-sing').toggleClass('active', v); - MAIN.sendFunc({v:v}, () => sing._isUIShowing = v); - }); + $('#sing-ui').toggleClass('active', false); + $('#nav-sing').toggleClass('active', false); + MAIN.sendFunc({v: false}, () => sing._isUIShowing = v); }); } }); diff --git a/windows/spotify/shortcuts.js b/windows/spotify/shortcuts.js index 7836b58..fed6b6a 100644 --- a/windows/spotify/shortcuts.js +++ b/windows/spotify/shortcuts.js @@ -23,7 +23,7 @@ module.exports = { if (app.spotify.isDevToolsOpened()){ app.spotify.closeDevTools(); } else { - app.spotify.closeDevTools() + app.spotify.openDevTools() } } bind('CommandOrControl+Shift+I', showdevtools); diff --git a/windows/spotify/window.js b/windows/spotify/window.js index e8110dc..95df5b6 100755 --- a/windows/spotify/window.js +++ b/windows/spotify/window.js @@ -30,7 +30,6 @@ class Spotify extends BrowserWindow{ } }); this.hasRadio = true; - this.openDevTools(); this.on('page-title-updated', (event) => event.preventDefault()); this.on('closed', () => { app.quit(); process.exit(0) }); this.setMenu(null);