Fix layout view with yoga disabled

This commit is contained in:
Lucas Araújo
2019-11-14 11:41:51 -03:00
parent 20fe53b254
commit 81c1706f0d
2 changed files with 26 additions and 1 deletions

View File

@@ -445,7 +445,7 @@ static void YGApplyLayoutToViewHierarchy(UIView *view, BOOL preserveOrigin)
const YGLayout *yoga = view.yoga;
if (!yoga.isIncludedInLayout) {
if (!yoga.isEnabled || !yoga.isIncludedInLayout) {
return;
}