diff --git a/YogaKit/Source/YGLayout.m b/YogaKit/Source/YGLayout.m index 9010852d..fbbb421b 100644 --- a/YogaKit/Source/YGLayout.m +++ b/YogaKit/Source/YGLayout.m @@ -103,6 +103,7 @@ static YGConfigRef globalConfig; { globalConfig = YGConfigNew(); YGConfigSetExperimentalFeatureEnabled(globalConfig, YGExperimentalFeatureWebFlexBasis, true); + YGConfigSetPointScaleFactor(globalConfig, [UIScreen mainScreen].scale); } - (instancetype)initWithView:(UIView*)view