Permalink
Browse files

Fix screenshot test due main axis justification refactor

Reviewed By: emilsjolander

Differential Revision: D6923178

fbshipit-source-id: d8f81b06d9127c75daecffb73b5e6c5abbad8ade
  • Loading branch information...
priteshrnandgaonkar authored and facebook-github-bot committed Feb 7, 2018
1 parent 46f4d3e commit 64d530ba0785af21555d48ddc9e7d561af37db4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 ReactCommon/yoga/yoga/Yoga.cpp
@@ -2062,7 +2062,7 @@ static void YGJustifyMainAxis(
i < collectedFlexItemsValues.endOfLineIndex;
i++) {
const YGNodeRef child = node->getChild(i);
if (style.positionType == YGPositionTypeRelative) {
if (child->getStyle().positionType == YGPositionTypeRelative) {
if (child->marginLeadingValue(mainAxis).unit == YGUnitAuto) {
numberOfAutoMarginsOnCurrentLine++;
}

0 comments on commit 64d530b

Please sign in to comment.