Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
Pre-release v1.0.40 Beta Fixes
Browse files Browse the repository at this point in the history
Fixes Sing! disappearance after clicking other nav items
Removed dev tools opening on start up
Fixed dev tools shortcut
  • Loading branch information
Quacky2200 committed Jan 24, 2017
1 parent 87504e8 commit eddce3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions windows/spotify/Sing!/sing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
});
Expand Down
2 changes: 1 addition & 1 deletion windows/spotify/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion windows/spotify/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eddce3f

Please sign in to comment.