fix onMesure PichView
This commit is contained in:
parent
c8233febfe
commit
01968326c0
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ public class PitchView extends ViewGroup {
|
|||
|
||||
float mid = getWidth() / 2f;
|
||||
|
||||
y = y + dp2px(pitchDlimiter) / 2;
|
||||
y = getHeight() - dp2px(pitchDlimiter) - getPaddingBottom();
|
||||
|
||||
canvas.drawLine(mid, y, mid - mid * left - 1, y, paint);
|
||||
canvas.drawLine(mid, y, mid + mid * right + 1, y, paint);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue