Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 55b936c

Browse files
committed
[OPT] PitchView add ANTI_ALIAS support.
1 parent 73a4972 commit 55b936c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lrcview/src/main/java/io/agora/lrcview/PitchView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class PitchView extends View {
4848
private int pitchMin = 100;//最小值
4949
private int indicatorRadius;
5050

51-
private final Paint mPaint = new Paint();
51+
private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
5252
private int mNormalTextColor;
5353
private int mDoneTextColor;
5454

0 commit comments

Comments
 (0)