|
|
|
@ -215,6 +215,7 @@ |
|
|
|
/* It is ok to scroll five layers */ |
|
|
|
if( selectedIndex - index < 5 ) |
|
|
|
{ |
|
|
|
while( index < selectedIndex ) |
|
|
|
[self changeSelectedLayerToPreviousIndex]; |
|
|
|
return; |
|
|
|
} |
|
|
|
@ -227,6 +228,7 @@ |
|
|
|
{ |
|
|
|
if( index - selectedIndex < 5 ) |
|
|
|
{ |
|
|
|
while( index > selectedIndex ) |
|
|
|
[self changeSelectedLayerToNextIndex]; |
|
|
|
return; |
|
|
|
} |
|
|
|
|