|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
package io.legado.app.ui.book.read.page.delegate |
|
|
|
|
|
|
|
|
|
import android.text.method.ScrollingMovementMethod |
|
|
|
|
import android.view.MotionEvent |
|
|
|
|
import io.legado.app.constant.PreferKey |
|
|
|
|
import io.legado.app.ui.book.read.page.PageView |
|
|
|
@ -53,10 +52,9 @@ abstract class HorizontalPageDelegate(pageView: PageView) : PageDelegate(pageVie |
|
|
|
|
override fun upSelectAble() { |
|
|
|
|
pageView.curPage?.contentTextView()?.apply { |
|
|
|
|
if (context.getPrefBoolean(PreferKey.selectText)) { |
|
|
|
|
isSelected = false |
|
|
|
|
setTextIsSelectable(true) |
|
|
|
|
} else { |
|
|
|
|
movementMethod = ScrollingMovementMethod.getInstance() |
|
|
|
|
isSelected = true |
|
|
|
|
setTextIsSelectable(false) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|