|
@@ -139,6 +139,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
if (!isOpened) return
|
|
if (!isOpened) return
|
|
val context = this
|
|
val context = this
|
|
val readerView = object : KMPDFReaderView(context) {
|
|
val readerView = object : KMPDFReaderView(context) {
|
|
|
|
+ @SuppressLint("ClickableViewAccessibility")
|
|
override fun onTouchEvent(motionEvent: MotionEvent): Boolean {
|
|
override fun onTouchEvent(motionEvent: MotionEvent): Boolean {
|
|
if (motionEvent.action == MotionEvent.ACTION_UP) {
|
|
if (motionEvent.action == MotionEvent.ACTION_UP) {
|
|
if (viewModel.isCopyModeLiveData.value == true) {
|
|
if (viewModel.isCopyModeLiveData.value == true) {
|