From 16d1aab5a5cc2f7780f6c01506c7c9c0330a8835 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 8 May 2021 11:30:47 +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 --- app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt index bba292427..42886de3c 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt @@ -102,8 +102,8 @@ class ReadView(context: Context, attrs: AttributeSet) : setRect9x() } - public fun setRect9x() { - val edge = if (AppConfig.fullScreenGesturesSupport) { 200f } else { 0f } + fun setRect9x() { + val edge = if (AppConfig.fullScreenGesturesSupport) 200f else 0f tlRect.set(0f + edge, 0f, width * 0.33f, height * 0.33f) tcRect.set(width * 0.33f, 0f, width * 0.66f, height * 0.33f) trRect.set(width * 0.36f, 0f, width - 0f - edge, height * 0.33f)