From 90fd0d1a5905d1eed02bc104030489f413c82a1a Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 8 May 2021 11:44:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/page/PageView.kt | 9 --------- 1 file changed, 9 deletions(-) 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 fa14fbcf2..7b621735f 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 @@ -237,15 +237,6 @@ 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) {