From 974a2a3b2ffd964da7ced9ff50afd6835449a7af Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 22 Feb 2020 19:15:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=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 --- .../app/ui/book/read/page/delegate/ScrollPageDelegate.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 988b5fc94..714c26f89 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 @@ -22,7 +22,7 @@ class ScrollPageDelegate(pageView: PageView) : PageDelegate(pageView) { } override fun onDraw(canvas: Canvas) { - + curPage.onScroll(lastY - touchY) } override fun onAnimStop() { @@ -73,7 +73,6 @@ class ScrollPageDelegate(pageView: PageView) : PageDelegate(pageView) { isRunning = true //设置触摸点 setTouchPoint(e2.x, e2.y) - curPage.onScroll(lastY - touchY) } return isMoved }