diff --git a/yoga/algorithm/CalculateLayout.cpp b/yoga/algorithm/CalculateLayout.cpp index 31841e35b0..36184745e2 100644 --- a/yoga/algorithm/CalculateLayout.cpp +++ b/yoga/algorithm/CalculateLayout.cpp @@ -1780,7 +1780,7 @@ static void calculateLayoutImpl( crossAxis, direction, unclampedCrossDim, - ownerHeight, + crossAxisOwnerSize, ownerWidth) - paddingAndBorderAxisCross;