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)