From 6dc69162a2d38043e0bb41242acd6b787bf1e8c4 Mon Sep 17 00:00:00 2001 From: Harshad Vedartham Date: Sat, 28 Dec 2024 23:55:33 +0530 Subject: [PATCH] Cleanup --- .../other/writeily/format/WrProportionalHeaderSpanCreator.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java b/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java index fdc89572dc..a92b40790f 100644 --- a/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java +++ b/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java @@ -38,8 +38,6 @@ 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); } @@ -47,7 +45,6 @@ public void updateMeasureState(@NonNull TextPaint textPaint) { public void updateDrawState(@NonNull TextPaint textPaint) { textPaint.setFakeBoldText(true); textPaint.setColor(_color); - textPaint.setTextSize(textPaint.getTextSize() * _proportion); } } } \ No newline at end of file