diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt index 7b621735f..aec10c2fa 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt @@ -236,7 +236,15 @@ class PageView(context: Context) : FrameLayout(context) { } fun scroll(offset: Int) { - binding.contentTextView.scroll(offset) + if (offset > 0) { + for (i in 1..offset) { + binding.contentTextView.scroll(1) + } + } else { + for (i in offset..-1) { + binding.contentTextView.scroll(-1) + } + } } fun upSelectAble(selectAble: Boolean) {