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,
distanceY: Float
): Boolean {
curPage?.contentTextView()?.setTextIsSelectable(false)
if (pageView.isScrollDelegate()) {
curPage?.dispatchTouchEvent(e2)
return true
} else {
curPage?.contentTextView()?.setTextIsSelectable(false)
}
if (!isMoved && abs(distanceX) > abs(distanceY)) {
if (distanceX < 0) {

Loading…
Cancel
Save