fix#【#988】 【频繁】鹰眼演示速度区域显示负数
This commit is contained in:
@@ -167,6 +167,9 @@ public class ArcView extends View {
|
||||
if (value > maxValue) {
|
||||
value = maxValue;
|
||||
}
|
||||
if (value < 0) {
|
||||
value = 0;
|
||||
}
|
||||
currentValue = value;
|
||||
//计算弧度比重
|
||||
float scale = (float) currentValue / maxValue;
|
||||
|
||||
Reference in New Issue
Block a user