[ASViewController] fix layout recursion (#2218)

I don’t think this `setNeedsLayout` is required since we call `measure` now.
This commit is contained in:
ricky
2016-09-08 16:01:14 -07:00
committed by Adlai Holler
parent 60b9e16395
commit 6ab83068a6

View File

@@ -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];
}
}