mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
Fabric: Improved YogaLayoutableShadowNode printing
Summary: `LTR` is actually a default value for `direction` here, because an `inherit` value makes no sense for YGLayout (because it's *computed* value by definition). Reviewed By: fkgozali Differential Revision: D7330335 fbshipit-source-id: b3c7736c104689f2296e150f0cf57d622483d537
This commit is contained in:
parent
ff288b7416
commit
39383d1189
@ -149,6 +149,7 @@ SharedDebugStringConvertibleList YogaLayoutableShadowNode::getDebugProps() const
|
||||
}
|
||||
|
||||
YGLayout defaultYogaLayout = YGLayout();
|
||||
defaultYogaLayout.direction = YGDirectionLTR;
|
||||
YGLayout currentYogaLayout = std::const_pointer_cast<YGNode>(yogaNode_)->getLayout();
|
||||
|
||||
#define YOGA_LAYOUT_PROPS_ADD_TO_SET(stringName, propertyName, accessor, convertor) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user