Skip to content

Commit

Permalink
import one line change from facebook/yoga#84
Browse files Browse the repository at this point in the history
  • Loading branch information
paramaggarwal committed Jun 29, 2015
1 parent 951b5f9 commit 9a60e1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion React/Layout/Layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ static void layoutNodeImpl(css_node_t *node, float parentMaxWidth) {
getPaddingAndBorderAxis(node, CSS_FLEX_DIRECTION_COLUMN);
}
}
return;
if (node->children_count == 0) {
return;
}
}

// Pre-fill some dimensions straight from the parent
Expand Down

0 comments on commit 9a60e1f

Please sign in to comment.