mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-23 11:27:56 +08:00
Merge pull request #1105 from facebook/RangeControlAllNodes
[ASRangeControllerBeta] Scan all nodes after edit operations.
This commit is contained in:
@@ -134,6 +134,10 @@
|
||||
[allIndexPaths unionSet:_allPreviousIndexPaths];
|
||||
_allPreviousIndexPaths = allCurrentIndexPaths;
|
||||
|
||||
if (!_rangeIsValid) {
|
||||
[allIndexPaths addObjectsFromArray:ASIndexPathsForMultidimensionalArray(allNodes)];
|
||||
}
|
||||
|
||||
// This array is only used if logging is enabled.
|
||||
NSMutableArray<NSIndexPath *> *modifiedIndexPaths = (RangeControllerLoggingEnabled ? [NSMutableArray array] : nil);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user