李卓原

紧急修复文字适配问题

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