mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 01:29:22 +00:00
Remove uneeded passing of media object
This commit is contained in:
parent
443628b7a6
commit
c181be82a3
1 changed files with 4 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ module.exports = function(winamp, store) {
|
|||
winamp.next();
|
||||
break;
|
||||
case 67: // C
|
||||
store.dispatch(pause(winamp.media));
|
||||
store.dispatch(pause());
|
||||
break;
|
||||
case 76: // L
|
||||
openFileDialog(winamp);
|
||||
|
|
@ -62,10 +62,10 @@ module.exports = function(winamp, store) {
|
|||
store.dispatch(toggleShuffle(winamp.media));
|
||||
break;
|
||||
case 86: // V
|
||||
store.dispatch(stop(winamp.media));
|
||||
store.dispatch(stop());
|
||||
break;
|
||||
case 88: // X
|
||||
store.dispatch(play(winamp.media));
|
||||
store.dispatch(play());
|
||||
break;
|
||||
case 90: // Z
|
||||
winamp.previous();
|
||||
|
|
@ -86,7 +86,7 @@ module.exports = function(winamp, store) {
|
|||
winamp.previous();
|
||||
break;
|
||||
case 101: // numpad 5
|
||||
store.dispatch(play(winamp.media));
|
||||
store.dispatch(play());
|
||||
break;
|
||||
case 102: // numpad 6
|
||||
winamp.next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue