remove defaulting to web config (#213)

This commit is contained in:
Atul R 2019-11-22 19:34:38 +01:00 committed by GitHub
parent 681689b7dd
commit 1132d5f0a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,7 @@
#include "core/FlexLayout/flexutils.h"
FlexItem::FlexItem() {
this->node = YGNodeNew();
YGConfigSetUseWebDefaults(this->node->getConfig(), true);
}
FlexItem::FlexItem() { this->node = YGNodeNew(); }
YGNodeRef FlexItem::getFlexNode() const { return this->node; }