有bug,先回退 (#4669)

This commit is contained in:
Sun-QAQ
2025-02-13 21:21:54 +08:00
committed by GitHub
parent 9576a50cc1
commit 0bbc6c774d
@@ -287,15 +287,6 @@ class TextChapterLayout(
absStartX = it.first
durY = it.second
}
if (isSingleImageStyle) {
pendingTextPage.height = durY
textPages.add(pendingTextPage)
onPageCompleted()
pendingTextPage = TextPage()
stringBuilder.clear()
absStartX = paddingLeft
durY = 0f
}
start = matcher.end()
}
if (start < content.length) {