main axis padding

This commit is contained in:
Christopher Chedeau
2014-06-12 11:36:57 -07:00
parent 842d654b0f
commit 51957d5645
2 changed files with 12 additions and 1 deletions

View File

@@ -489,7 +489,7 @@ var computeLayout = (function() {
child.layout[pos[mainAxis]] -
getMargin(child, trailing[mainAxis]) -
getPosition(child, trailing[mainAxis])
);
) + getPaddingAndBorderAxis(child, mainAxis);
}
}
}