|
|
@ -188,7 +188,9 @@ abstract class PageDelegate(protected val pageView: PageView) { |
|
|
|
if (event.action == MotionEvent.ACTION_DOWN) { |
|
|
|
if (event.action == MotionEvent.ACTION_DOWN) { |
|
|
|
curPage?.let { |
|
|
|
curPage?.let { |
|
|
|
it.contentTextView()?.let { contentTextView -> |
|
|
|
it.contentTextView()?.let { contentTextView -> |
|
|
|
|
|
|
|
if (!contentTextView.isTextSelectable) { |
|
|
|
contentTextView.setTextIsSelectable(true) |
|
|
|
contentTextView.setTextIsSelectable(true) |
|
|
|
|
|
|
|
} |
|
|
|
atTop = contentTextView.atTop() |
|
|
|
atTop = contentTextView.atTop() |
|
|
|
atBottom = contentTextView.atBottom() |
|
|
|
atBottom = contentTextView.atBottom() |
|
|
|
} |
|
|
|
} |
|
|
|