Changed the return type of trailing padding to YGFloatOptional

Summary: Changed the return type of trailing padding to YGFloatOptional

Reviewed By: emilsjolander

Differential Revision: D7339712

fbshipit-source-id: 483c5886838c14b17cb731c81abb9fc80f519956
This commit is contained in:
Pritesh Nandgaonkar
2018-04-04 07:55:34 -07:00
committed by Facebook Github Bot
parent 3e322e60e4
commit de954eb9cc
3 changed files with 19 additions and 13 deletions

View File

@@ -96,7 +96,9 @@ struct YGNode {
YGFloatOptional getLeadingPadding(
const YGFlexDirection& axis,
const float& widthSize) const;
float getTrailingPadding(const YGFlexDirection axis, const float widthSize) const;
YGFloatOptional getTrailingPadding(
const YGFlexDirection& axis,
const float& widthSize) const;
float getLeadingPaddingAndBorder(
const YGFlexDirection axis,
const float widthSize) const;