On second thought, let's not allow other repeat modes to wrap around the playlist boundary, either
parent
321a5ea23f
commit
25236a254a
|
@ -501,7 +501,7 @@
|
||||||
RepeatMode repeat = [self repeat];
|
RepeatMode repeat = [self repeat];
|
||||||
|
|
||||||
if (i < 0 || i >= [[self arrangedObjects] count] ) {
|
if (i < 0 || i >= [[self arrangedObjects] count] ) {
|
||||||
if ( repeat == RepeatNone )
|
if ( repeat != RepeatAll )
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
while ( i < 0 )
|
while ( i < 0 )
|
||||||
|
|
Loading…
Reference in New Issue