actually make work left and right

This commit is contained in:
Christopher Chedeau
2014-06-12 10:09:42 -07:00
parent cc11a535ce
commit 1c9749f93e
2 changed files with 3 additions and 2 deletions

View File

@@ -491,6 +491,7 @@ var computeLayout = (function() {
if (leadingPos && trailingPos) {
child.layout[dim[crossAxis]] =
node.layout[dim[crossAxis]] -
child.layout[pos[crossAxis]] -
getMargin(child, trailing[crossAxis]) -
getPosition(child, trailing[crossAxis]);
}