Skip to content

Commit

Permalink
1. 修复缩放模式切换失效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
FliggyAndroid committed Oct 18, 2019
1 parent ef66898 commit beda85a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public class SuperTextView extends TextView {
private int height;
private Drawable drawable;
private Drawable drawable2;
private float density;
private boolean autoAdjust;
// private Adjuster adjuster;
private Adjuster pressAdjuster;
Expand Down Expand Up @@ -220,7 +219,6 @@ public SuperTextView(Context context, AttributeSet attrs, int defStyleAttr,
}

private void init(AttributeSet attrs) {
density = getContext().getResources().getDisplayMetrics().density;
initAttrs(attrs);
paint = new Paint();
initPaint();
Expand Down

0 comments on commit beda85a

Please sign in to comment.