0.0f
This commit is contained in:
@@ -1260,7 +1260,7 @@ static void justifyMainAxis(
|
|||||||
case Justify::SpaceBetween:
|
case Justify::SpaceBetween:
|
||||||
if (flexLine.itemsInFlow.size() > 1) {
|
if (flexLine.itemsInFlow.size() > 1) {
|
||||||
betweenMainDim +=
|
betweenMainDim +=
|
||||||
yoga::maxOrDefined(flexLine.layout.remainingFreeSpace, 0) /
|
yoga::maxOrDefined(flexLine.layout.remainingFreeSpace, 0.0f) /
|
||||||
static_cast<float>(flexLine.itemsInFlow.size() - 1);
|
static_cast<float>(flexLine.itemsInFlow.size() - 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user