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.
This commit is contained in:
parent
f845a519b1
commit
ad5ac13a9c
2 changed files with 1625 additions and 1620 deletions
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue