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:
Valentin Shergin 2018-03-19 16:51:35 -07:00 committed by Facebook Github Bot
parent ff288b7416
commit 39383d1189

View File

@ -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) \