| 450 | } |
| 451 | |
| 452 | inline bool isFixedSize(float dim, SizingMode sizingMode) { |
| 453 | return sizingMode == SizingMode::StretchFit || |
| 454 | (yoga::isDefined(dim) && sizingMode == SizingMode::FitContent && |
| 455 | dim <= 0.0); |
| 456 | } |
| 457 | |
| 458 | static bool measureNodeWithFixedSize( |
| 459 | yoga::Node* const node, |
no test coverage detected