This commit is contained in:
Horis
2025-12-12 15:55:04 +08:00
parent f20d9d2f46
commit baba6159d2
@@ -342,8 +342,10 @@ class TextChapterLayout(
width = visibleWidth
height = size.height * visibleWidth / size.width
if (pageAnim != PageAnim.scrollPageAnim && height > visibleHeight - durY) {
width = width * visibleHeight / height
height = visibleHeight
if (height > visibleHeight) {
width = width * visibleHeight / height
height = visibleHeight
}
prepareNextPageIfNeed(durY + height)
}
}