mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fix CQS signal modernize-use-designated-initializers in xplat/yoga/yoga/algorithm (#55522)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55522 Reviewed By: cortinico Differential Revision: D92810369 fbshipit-source-id: f2125a8fbaae3486b4a4ace59e513ce2a9367824
This commit is contained in:
1 parent
ad8ac5e176
commit
4ef7ac3136
1 file changed
+7
-7
@@ -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