[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 0d3b31dc2d
commit 6bef1e129a

View File

@@ -304,7 +304,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 layoutThatFits:[self nodeConstrainedSize]];
[self.node setNeedsLayout];
}
}