|
@@ -695,6 +695,9 @@ class ReadBookActivity : BaseReadBookActivity(),
|
|
|
*/
|
|
*/
|
|
|
@SuppressLint("ClickableViewAccessibility")
|
|
@SuppressLint("ClickableViewAccessibility")
|
|
|
override fun onTouch(v: View, event: MotionEvent): Boolean = binding.run {
|
|
override fun onTouch(v: View, event: MotionEvent): Boolean = binding.run {
|
|
|
|
|
+ if (!binding.readView.isTextSelected) {
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
when (event.action) {
|
|
when (event.action) {
|
|
|
MotionEvent.ACTION_DOWN -> textActionMenu.dismiss()
|
|
MotionEvent.ACTION_DOWN -> textActionMenu.dismiss()
|
|
|
MotionEvent.ACTION_MOVE -> {
|
|
MotionEvent.ACTION_MOVE -> {
|