mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -695,6 +695,9 @@ class ReadBookActivity : BaseReadBookActivity(),
|
||||
*/
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
override fun onTouch(v: View, event: MotionEvent): Boolean = binding.run {
|
||||
if (!binding.readView.isTextSelected) {
|
||||
return false
|
||||
}
|
||||
when (event.action) {
|
||||
MotionEvent.ACTION_DOWN -> textActionMenu.dismiss()
|
||||
MotionEvent.ACTION_MOVE -> {
|
||||
|
||||
Reference in New Issue
Block a user