Remove ASLayoutChild. ASLayout now has a position property defaults to (NAN, NAN).

This commit is contained in:
Huy Nguyen
2015-06-30 17:10:17 +07:00
parent e74823bbee
commit 4799a9d206
11 changed files with 79 additions and 54 deletions

View File

@@ -15,7 +15,7 @@
/** Represents a set of laid out and positioned stack layout children. */
struct ASStackPositionedLayout {
const std::vector<ASLayoutChild *> children;
const std::vector<ASLayout *> children;
const CGFloat crossSize;
/** Given an unpositioned layout, computes the positions each child should be placed at. */