...
 
Commits (2)
  • axet's avatar
    cont · 9ddc3c7d
    axet authored
    9ddc3c7d
  • axet's avatar
    ger · ea7118c9
    axet authored
    ea7118c9
......@@ -33,7 +33,7 @@ android {
minSdkVersion 9
targetSdkVersion 21
versionCode 1
versionName "0.1.4"
versionName "0.1.5"
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
......
......@@ -1020,11 +1020,11 @@ public abstract class ZLTextView extends ZLTextViewBase {
);
if (end != null && result.compareTo(end) >= 0) {
page.topMargin = textAreaHeight;
if (info.ParagraphCursor.Index == result.getParagraphIndex() && info.EndElementIndex == result.getElementIndex() && info.EndCharIndex == result.getCharIndex()) {
if (end.compareTo(new ZLTextFixedPosition(info.ParagraphCursor.Index, info.EndElementIndex, info.EndCharIndex)) < 0) {
info.EndElementIndex = end.ElementIndex;
info.EndCharIndex = end.CharIndex;
result.moveTo(end);
}
result.moveTo(end);
} else {
page.topMargin = 0;
}
......