pull/34/head
kunfei 5 years ago
parent dcfea7b8ee
commit 474ca2713f
  1. 3
      app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt

@ -265,11 +265,10 @@ abstract class PageDelegate(protected val pageView: PageView) {
distanceX: Float, distanceX: Float,
distanceY: Float distanceY: Float
): Boolean { ): Boolean {
curPage?.contentTextView()?.setTextIsSelectable(false)
if (pageView.isScrollDelegate()) { if (pageView.isScrollDelegate()) {
curPage?.dispatchTouchEvent(e2) curPage?.dispatchTouchEvent(e2)
return true return true
} else {
curPage?.contentTextView()?.setTextIsSelectable(false)
} }
if (!isMoved && abs(distanceX) > abs(distanceY)) { if (!isMoved && abs(distanceX) > abs(distanceY)) {
if (distanceX < 0) { if (distanceX < 0) {

Loading…
Cancel
Save