提交 4ebea90a 编写于 作者: 李卓原

紧急修复文字适配问题

上级 d35964b6
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册