Fix repeat none and repeat all being swapped
parent
ff4b8dd912
commit
321a5ea23f
|
@ -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 == RepeatNone )
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
while ( i < 0 )
|
while ( i < 0 )
|
||||||
|
|
Loading…
Reference in New Issue