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.
parent
f845a519b1
commit
ad5ac13a9c
File diff suppressed because it is too large
Load Diff
|
@ -258,7 +258,8 @@
|
||||||
|
|
||||||
- (IBAction)scrollToCurrentEntry:(id)sender
|
- (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
|
- (IBAction)sortByPath:(id)sender
|
||||||
|
|
Loading…
Reference in New Issue