From 2b1de39c1cc8034fd876339010d3cce20d20c09e Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 21 Feb 2020 15:43:56 +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 --- .../io/legado/app/ui/book/read/page/delegate/PageDelegate.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt index 15ea770d7..b0be332dc 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt @@ -20,7 +20,7 @@ import kotlin.math.abs abstract class PageDelegate(protected val pageView: PageView) : GestureDetector.SimpleOnGestureListener() { - val centerRectF = RectF( + private val centerRectF = RectF( pageView.width * 0.33f, pageView.height * 0.33f, pageView.width * 0.66f, pageView.height * 0.66f )