Fix CQS signal modernize-use-designated-initializers in xplat/yoga/yoga/algorithm [A] (#54251)

Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54251

Reviewed By: christophpurrer

Differential Revision: D85212208
This commit is contained in:
CodemodService Bot
2025-10-28 17:31:29 -07:00
committed by Facebook GitHub Bot
parent 3f971d931c
commit 595d96caf6
@@ -339,13 +339,13 @@ static void measureNodeWithMeasureFunc(
Event::publish<Event::MeasureCallbackEnd>(
node,
{innerWidth,
unscopedEnum(measureMode(widthSizingMode)),
innerHeight,
unscopedEnum(measureMode(heightSizingMode)),
measuredSize.width,
measuredSize.height,
reason});
{.width = innerWidth,
.widthMeasureMode = unscopedEnum(measureMode(widthSizingMode)),
.height = innerHeight,
.heightMeasureMode = unscopedEnum(measureMode(heightSizingMode)),
.measuredWidth = measuredSize.width,
.measuredHeight = measuredSize.height,
.reason = reason});
node->setLayoutMeasuredDimension(
boundAxis(