mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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(
|
||||
|
||||
Reference in New Issue
Block a user