优化
This commit is contained in:
@@ -289,7 +289,7 @@ class BookInfoActivity :
|
|||||||
override fun dispatchTouchEvent(ev: MotionEvent): Boolean {
|
override fun dispatchTouchEvent(ev: MotionEvent): Boolean {
|
||||||
if (ev.action == MotionEvent.ACTION_DOWN) {
|
if (ev.action == MotionEvent.ACTION_DOWN) {
|
||||||
currentFocus?.let {
|
currentFocus?.let {
|
||||||
if (it === binding.tvIntro) {
|
if (it === binding.tvIntro && binding.tvIntro.hasSelection()) {
|
||||||
it.clearFocus()
|
it.clearFocus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user