1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-31 21:53:31 +02:00

Refactor player#togglePlayPause.

This commit is contained in:
Doug Kearns
2009-03-26 01:04:02 +11:00
parent 683d569eb2
commit a5b6ec3478
3 changed files with 5 additions and 2 deletions

View File

@@ -365,7 +365,7 @@ function Player() // {{{
togglePlayPause: function togglePlayPause()
{
gSongbirdWindowController.doCommand("cmd_control_playpause");
SBGetBrowser().mediaTab.mediaPage.highlightItem(_SBGetCurrentView().getIndexForItem(gMM.sequencer.currentItem));
focusTrack(gMM.sequencer.currentItem);
},
toggleShuffle: function toggleShuffle()