fix bottom issue

This commit is contained in:
Christopher Chedeau
2014-04-19 14:43:51 -07:00
parent c95de81d37
commit 13e7e3168b

View File

@@ -250,7 +250,7 @@ float getRelativePosition(css_node_t *node, css_flex_direction_t axis) {
if (!isUndefined(lead)) {
return lead;
}
return getPosition(node, trailing[axis]);
return -getPosition(node, trailing[axis]);
}
void layoutNode(css_node_t *node) {