am 9defd066: am 74437532: Merge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into jb-mr1-dev
* commit '9defd0663e2b6a486f5bc72621bbbd4dfab666fb': Fix for bug: Gmail (and other places): cursor placed on top of letter
This commit is contained in:
@@ -939,10 +939,6 @@ class TextLine {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c == null) {
|
|
||||||
x += handleText(wp, i, mlimit, i, inext, runIsRtl, c, x, top,
|
|
||||||
y, bottom, fmi, needWidth || mlimit < measureLimit);
|
|
||||||
} else {
|
|
||||||
for (int j = i, jnext; j < mlimit; j = jnext) {
|
for (int j = i, jnext; j < mlimit; j = jnext) {
|
||||||
jnext = mCharacterStyleSpanSet.getNextTransition(mStart + j, mStart + mlimit) -
|
jnext = mCharacterStyleSpanSet.getNextTransition(mStart + j, mStart + mlimit) -
|
||||||
mStart;
|
mStart;
|
||||||
@@ -961,7 +957,6 @@ class TextLine {
|
|||||||
top, y, bottom, fmi, needWidth || jnext < measureLimit);
|
top, y, bottom, fmi, needWidth || jnext < measureLimit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return x - originalX;
|
return x - originalX;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user