mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
[ASViewController] fix layout recursion (#2218)
I don’t think this `setNeedsLayout` is required since we call `measure` now.
This commit is contained in:
@@ -303,7 +303,6 @@ ASVisibilityDepthImplementation;
|
||||
// once we've propagated all the traits, layout this node.
|
||||
// Remeasure the node with the latest constrained size – old constrained size may be incorrect.
|
||||
[self.node measureWithSizeRange:[self nodeConstrainedSize]];
|
||||
[self.node setNeedsLayout];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user