Moved margin axis function as a method in YGNode
Summary: Moved margin axis function as a method in YGNode Reviewed By: emilsjolander Differential Revision: D6900003 fbshipit-source-id: a42da3bcd3126bf8c432c6740987b5ec0b572172
This commit is contained in:
committed by
Facebook Github Bot
parent
64f6ea37bd
commit
61afbd43c9
@@ -97,6 +97,7 @@ struct YGNode {
|
||||
float getTrailingPaddingAndBorder(
|
||||
const YGFlexDirection axis,
|
||||
const float widthSize);
|
||||
float getMarginForAxis(const YGFlexDirection axis, const float widthSize);
|
||||
// Setters
|
||||
|
||||
void setContext(void* context);
|
||||
|
Reference in New Issue
Block a user