change BOrder constant to 4 to set correct field bits

Summary: These constants are used for setting bit fields so they should be in power of 2

Reviewed By: davidaurelio

Differential Revision: D14384999

fbshipit-source-id: fa1f6994c874aff7a039ca98d5947cba317fa749
This commit is contained in:
Sidharth Guglani
2019-03-13 03:23:17 -07:00
committed by Facebook Github Bot
parent 972ee2edbd
commit d31cc696fb
@@ -94,7 +94,7 @@ struct YGNodeContext {
const int MARGIN = 1;
const int PADDING = 2;
const int BORDER = 3;
const int BORDER = 4;
static inline YGNodeContext* ygNodeRefToYGNodeContext(YGNodeRef node) {
return reinterpret_cast<YGNodeContext*>(node->getContext());