Skip to content

Commit

Permalink
紧急修复文字适配问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan committed Nov 8, 2018
1 parent d35964b commit 4ebea90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/flutter_screenutil.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 4ebea90

Please sign in to comment.