From 9e2e99687dd3683367798f8a1a5c53d5a6564716 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 15 Nov 2020 09:38:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A3=E6=96=87=E5=86=85?= =?UTF-8?q?=E5=AE=B9TalkBack=E4=B8=8D=E5=AF=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/page/ContentTextView.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt index 6eb2f2194..6bc543a0b 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt @@ -191,11 +191,13 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at textPage = pageFactory.curData.textPage pageOffset -= textPage.height.toInt() upView?.invoke(textPage) + contentDescription = textPage.text } else if (pageOffset < -textPage.height) { pageOffset += textPage.height.toInt() pageFactory.moveToNext(false) textPage = pageFactory.curData.textPage upView?.invoke(textPage) + contentDescription = textPage.text } invalidate() }