mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-28 23:58:50 +08:00
Remove removedSubnodes instead of insertedSubnodes
This commit is contained in:
@@ -792,7 +792,7 @@ static inline void filterNodesInLayoutAtIndexesWithIntersectingNodes(
|
||||
|
||||
- (void)__implicitlyRemoveSubnodes
|
||||
{
|
||||
for (NSInteger i = 0; i < [_insertedSubnodes count]; i++) {
|
||||
for (NSInteger i = 0; i < [_removedSubnodes count]; i++) {
|
||||
[_removedSubnodes[i] removeFromSupernode];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user