This commit is contained in:
Horis 2024-03-03 23:22:48 +08:00
parent 2b761150c8
commit 561cb5e162

View File

@ -560,7 +560,11 @@ object ReadBook : CoroutineScope by MainScope() {
} }
callBack?.onLayoutPageCompleted(index, page) callBack?.onLayoutPageCompleted(index, page)
} }
if (upContent) callBack?.upContent(offset, false) if (upContent) callBack?.upContent(offset, !available && resetPageOffset)
if (!available) {
curPageChanged()
callBack?.contentLoadFinish()
}
} }
-1 -> { -1 -> {