Fixed repeating list item number

This commit is contained in:
M66B 2020-05-01 20:13:07 +02:00
parent cb9606770f
commit 9226bc90fb
1 changed files with 1 additions and 1 deletions

View File

@ -2141,7 +2141,7 @@ public class HtmlHelper {
@Override
public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) {
if (first) {
if (((Spanned) text).getSpanStart(this) == start) {
Paint.Style ostyle = p.getStyle();
int ocolor = p.getColor();
Typeface oface = p.getTypeface();