Moved trailing padding and border function as a method on YGNode

Summary: Moved trailing padding and border function as a method on YGNode

Reviewed By: emilsjolander

Differential Revision: D6899571

fbshipit-source-id: 7f686e8771d5a94aae502191516557b20c557d7c
This commit is contained in:
Pritesh Nandgaonkar
2018-02-06 08:39:52 -08:00
committed by Facebook Github Bot
parent dc0609d153
commit 64f6ea37bd
3 changed files with 11 additions and 9 deletions

View File

@@ -94,6 +94,9 @@ struct YGNode {
float getLeadingPaddingAndBorder(
const YGFlexDirection axis,
const float widthSize);
float getTrailingPaddingAndBorder(
const YGFlexDirection axis,
const float widthSize);
// Setters
void setContext(void* context);