Skip to content

Commit aed8e18

Browse files
committed
Revert "Corrects children position in vertical CCLayoutBox"
This reverts commit 9f58d3f [formerly df9cbba]. Former-commit-id: e314221
1 parent 90b9915 commit aed8e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCLayoutBox.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ - (void) layout
8484

8585
// Position the nodes
8686
float height = 0;
87-
for (CCNode* child in [[self.children reverseObjectEnumerator] allObjects])
87+
for (CCNode* child in self.children)
8888
{
8989
CGSize childSize = child.contentSizeInPoints;
9090

0 commit comments

Comments
 (0)