Add C# bindings for Errata API #1259
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user