Move YogaKit to YGErrataClassic #1261

Closed
NickGerleman wants to merge 2 commits from export-D45298803 into main
2 changed files with 7 additions and 0 deletions
Showing only changes of commit dae7d8e09e - Show all commits

View File

@@ -175,6 +175,7 @@ static YGConfigRef globalConfig;
globalConfig = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(
globalConfig, YGExperimentalFeatureWebFlexBasis, true);
YGConfigSetErrata(globalConfig, YGErrataClassic);
YGConfigSetPointScaleFactor(globalConfig, [UIScreen mainScreen].scale);
}