Browse Source

修改调音器指针偏移效果

Pq 1 year ago
parent
commit
47a529743f

+ 1 - 0
musictuner/src/main/java/com/cooleshow/musictuner/widget/DashBoardView.java

@@ -321,6 +321,7 @@ public class DashBoardView extends View {
             if (progress <= minMusicHzOffset) {
                 progress = minMusicHzOffset;
             }
+            lastAnimProgress=0;
             offsetValue = 0;
             currentOffsetValue = 0;
             startAnimation(progress - currentProgress);