pull/981/head
gedoor 4 years ago
parent 6c3f5aaff3
commit 16d1aab5a5
  1. 4
      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)

Loading…
Cancel
Save