Bound Scroll to currently playing to Command-L (iTunes). Changed the code slightly so that the currently playing song is also automatically selected when you scroll to it. Ten playlist entries will also be visible above it, to create some space.

CQTexperiment
areff 2008-02-18 19:21:50 +00:00
parent f845a519b1
commit ad5ac13a9c
2 changed files with 1625 additions and 1620 deletions

File diff suppressed because it is too large Load Diff

View File

@ -258,7 +258,8 @@
- (IBAction)scrollToCurrentEntry:(id)sender
{
[self scrollRowToVisible:[(NSNumber *)[[playlistController currentEntry] index] intValue]];
[self scrollRowToVisible:[(NSNumber *)[[playlistController currentEntry] index] intValue]-10];
[self selectRow:[(NSNumber *)[[playlistController currentEntry] index] intValue] byExtendingSelection:NO];
}
- (IBAction)sortByPath:(id)sender