|
|
@ -1,5 +1,6 @@ |
|
|
|
package io.legado.app.ui.book.read.page.delegate |
|
|
|
package io.legado.app.ui.book.read.page.delegate |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import android.view.MotionEvent |
|
|
|
import io.legado.app.ui.book.read.page.PageView |
|
|
|
import io.legado.app.ui.book.read.page.PageView |
|
|
|
|
|
|
|
|
|
|
|
class NoAnimPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageView) { |
|
|
|
class NoAnimPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageView) { |
|
|
@ -11,4 +12,8 @@ class NoAnimPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageView) |
|
|
|
stopScroll() |
|
|
|
stopScroll() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun onDoubleTap(e: MotionEvent): Boolean { |
|
|
|
|
|
|
|
return onSingleTapUp(e) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |