Add C# bindings for Errata API #1259

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

View File

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