Use Ctrl+Left/Right to switch playlist items. Closes #63

This commit is contained in:
Rafał Dzięgiel
2021-04-22 14:32:02 +02:00
parent 084f78a851
commit edfa85b5cc
2 changed files with 28 additions and 6 deletions

View File

@@ -14,5 +14,13 @@ var actions = {
},
about: {
run: (window) => new Dialogs.AboutDialog(window),
},
next_track: {
run: (window) => window.child.player.playlistWidget.nextTrack(),
accels: ['<Ctrl>Right'],
},
prev_track: {
run: (window) => window.child.player.playlistWidget.prevTrack(),
accels: ['<Ctrl>Left'],
}
};