|
|
@@ -446,9 +446,7 @@ class TextChapterLayout(
|
|
|
val textLine = TextLine(isTitle = isTitle)
|
|
|
if (durY + textHeight > visibleHeight) {
|
|
|
val textPage = pendingTextPage
|
|
|
- if (textPage.height < durY) {
|
|
|
- textPage.height = durY
|
|
|
- }
|
|
|
+ textPage.height = textPage.lines.lastOrNull()?.lineBottom ?: 0f
|
|
|
if (doublePage && absStartX < viewWidth / 2) {
|
|
|
//当前页面左列结束
|
|
|
textPage.leftLineSize = textPage.lineSize
|