From 39d3c7fb68ecdf25fea53aee189d3073fefcf2dc Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 31 Aug 2020 14:33:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/read/page/delegate/ScrollPageDelegate.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/ScrollPageDelegate.kt b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/ScrollPageDelegate.kt index b707388fe..a3ab84937 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/ScrollPageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/ScrollPageDelegate.kt @@ -80,11 +80,13 @@ class ScrollPageDelegate(pageView: PageView) : PageDelegate(pageView) { override fun nextPageByAnim(animationSpeed: Int) { abort() + setStartPoint(0f, 0f, false) startScroll(0, 0, 0, -ChapterProvider.visibleHeight, animationSpeed) } override fun prevPageByAnim(animationSpeed: Int) { abort() + setStartPoint(0f, 0f, false) startScroll(0, 0, 0, ChapterProvider.visibleHeight, animationSpeed) } } \ No newline at end of file