From 13e7e3168b49f18248095702b0775d1a8446c67e Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Sat, 19 Apr 2014 14:43:51 -0700 Subject: [PATCH] fix bottom issue --- src/Layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Layout.c b/src/Layout.c index c2e9d7e2..2bea9773 100644 --- a/src/Layout.c +++ b/src/Layout.c @@ -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) {