Showing
1 changed file
with
2 additions
and
2 deletions
@@ -81,10 +81,10 @@ class ScreenUtil { | @@ -81,10 +81,10 @@ class ScreenUtil { | ||
81 | 81 | ||
82 | /// 实际尺寸与UI设计的比例 | 82 | /// 实际尺寸与UI设计的比例 |
83 | /// The ratio of actual width to UI design | 83 | /// The ratio of actual width to UI design |
84 | - double get scaleWidth => _screenWidth / uiSize.width; | 84 | + double get scaleWidth => screenWidth / uiSize.width; |
85 | 85 | ||
86 | /// /// The ratio of actual height to UI design | 86 | /// /// The ratio of actual height to UI design |
87 | - double get scaleHeight => _screenHeight / uiSize.height; | 87 | + double get scaleHeight => screenHeight / uiSize.height; |
88 | 88 | ||
89 | double get scaleText => | 89 | double get scaleText => |
90 | _minTextAdapt ? min(scaleWidth, scaleHeight) : scaleWidth; | 90 | _minTextAdapt ? min(scaleWidth, scaleHeight) : scaleWidth; |
-
Please register or login to post a comment