李卓原

紧急修复文字适配问题

... ... @@ -82,6 +82,6 @@ class ScreenUtil {
///@param allowFontScaling 控制字体是否要根据系统的“字体大小”辅助选项来进行缩放。默认值为true。
///@param allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is true.
setSp(int fontSize, [allowFontScaling = true]) => allowFontScaling
? setWidth(fontSize) * _pixelRatio * _textScaleFactor
: setWidth(fontSize) * _pixelRatio;
? setWidth(fontSize) * _textScaleFactor
: setWidth(fontSize);
}
... ...