fix#【#988】 【频繁】鹰眼演示速度区域显示负数

This commit is contained in:
wujifei
2021-07-29 14:39:18 +08:00
committed by 董宏宇
parent 4acb532d13
commit 64ec728a02

View File

@@ -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;