Changed the return type of trailing padding to YGFloatOptional
Summary: Changed the return type of trailing padding to YGFloatOptional Reviewed By: emilsjolander Differential Revision: D7339712 fbshipit-source-id: 483c5886838c14b17cb731c81abb9fc80f519956
This commit is contained in:
committed by
Facebook Github Bot
parent
3e322e60e4
commit
de954eb9cc
@@ -2577,13 +2577,17 @@ static void YGNodelayoutImpl(const YGNodeRef node,
|
||||
node->getLeadingPadding(flexRowDirection, ownerWidth)),
|
||||
YGEdgeStart);
|
||||
node->setLayoutPadding(
|
||||
node->getTrailingPadding(flexRowDirection, ownerWidth), YGEdgeEnd);
|
||||
YGUnwrapFloatOptional(
|
||||
node->getTrailingPadding(flexRowDirection, ownerWidth)),
|
||||
YGEdgeEnd);
|
||||
node->setLayoutPadding(
|
||||
YGUnwrapFloatOptional(
|
||||
node->getLeadingPadding(flexColumnDirection, ownerWidth)),
|
||||
YGEdgeTop);
|
||||
node->setLayoutPadding(
|
||||
node->getTrailingPadding(flexColumnDirection, ownerWidth), YGEdgeBottom);
|
||||
YGUnwrapFloatOptional(
|
||||
node->getTrailingPadding(flexColumnDirection, ownerWidth)),
|
||||
YGEdgeBottom);
|
||||
|
||||
if (node->getMeasure() != nullptr) {
|
||||
YGNodeWithMeasureFuncSetMeasuredDimensions(node,
|
||||
|
Reference in New Issue
Block a user