mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-19 02:20:22 +08:00
Fix ASCollectionView::rangeControllerVisibleNodeIndexPaths: to return a sorted array.
This commit is contained in:
@@ -274,7 +274,7 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
- (NSArray *)rangeControllerVisibleNodeIndexPaths:(ASRangeController *)rangeController
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
return [self indexPathsForVisibleItems];
|
||||
return [[self indexPathsForVisibleItems] sortedArrayUsingSelector:@selector(compare:)];
|
||||
}
|
||||
|
||||
- (CGSize)rangeControllerViewportSize:(ASRangeController *)rangeController
|
||||
|
||||
Reference in New Issue
Block a user