0.0f
This commit is contained in:
@@ -563,10 +563,10 @@ static void measureNodeWithMeasureFunc(
|
|||||||
// We want to make sure we don't call measure with negative size
|
// We want to make sure we don't call measure with negative size
|
||||||
const float innerWidth = yoga::isUndefined(availableWidth)
|
const float innerWidth = yoga::isUndefined(availableWidth)
|
||||||
? availableWidth
|
? availableWidth
|
||||||
: yoga::maxOrDefined(0, availableWidth - paddingAndBorderAxisRow);
|
: yoga::maxOrDefined(0.0f, availableWidth - paddingAndBorderAxisRow);
|
||||||
const float innerHeight = yoga::isUndefined(availableHeight)
|
const float innerHeight = yoga::isUndefined(availableHeight)
|
||||||
? availableHeight
|
? availableHeight
|
||||||
: yoga::maxOrDefined(0, availableHeight - paddingAndBorderAxisColumn);
|
: yoga::maxOrDefined(0.0f, availableHeight - paddingAndBorderAxisColumn);
|
||||||
|
|
||||||
if (widthMeasureMode == MeasureMode::Exactly &&
|
if (widthMeasureMode == MeasureMode::Exactly &&
|
||||||
heightMeasureMode == MeasureMode::Exactly) {
|
heightMeasureMode == MeasureMode::Exactly) {
|
||||||
|
Reference in New Issue
Block a user