pull/478/head
gedoor 4 years ago
parent dbe5c7507b
commit 617e107d3c
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt

@ -257,7 +257,7 @@ class PageView(context: Context, attrs: AttributeSet) :
/** /**
* 单击 * 单击
*/ */
private fun onSingleTapUp(): Boolean { private fun onSingleTapUp() {
when { when {
isTextSelected -> isTextSelected = false isTextSelected -> isTextSelected = false
mcRect.contains(startX, startY) -> if (!isAbortAnim) { mcRect.contains(startX, startY) -> if (!isAbortAnim) {
@ -288,7 +288,6 @@ class PageView(context: Context, attrs: AttributeSet) :
click(AppConfig.clickActionTopRight) click(AppConfig.clickActionTopRight)
} }
} }
return true
} }
private fun click(action: Int) { private fun click(action: Int) {

Loading…
Cancel
Save