Skip to content

Commit

Permalink
undid
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Dec 28, 2024
1 parent 6dc6916 commit a3eac02
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ public LargerHeaderSpan(final @ColorInt int color, final float proportion) {

@Override
public void updateMeasureState(@NonNull TextPaint textPaint) {
textPaint.setFakeBoldText(true);
textPaint.setColor(_color);
textPaint.setTextSize(textPaint.getTextSize() * _proportion);
}

@Override
public void updateDrawState(@NonNull TextPaint textPaint) {
textPaint.setFakeBoldText(true);
textPaint.setColor(_color);
textPaint.setTextSize(textPaint.getTextSize() * _proportion);
}
}
}

0 comments on commit a3eac02

Please sign in to comment.