mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 05:35:51 +03:00
Change zoom from 3x to 5x (#6164)
Because some people actually read images with really small text *I hope they have some extreme high quality pictures else I don't know how they read the raster images*
This commit is contained in:
parent
6129519e5a
commit
8f00d34b0b
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
|
||||||
setOnImageEventListener(
|
setOnImageEventListener(
|
||||||
object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
|
object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
|
||||||
override fun onReady() {
|
override fun onReady() {
|
||||||
// 3x zoom
|
// 5x zoom
|
||||||
maxScale = scale * MAX_ZOOM_SCALE
|
maxScale = scale * MAX_ZOOM_SCALE
|
||||||
setDoubleTapZoomScale(scale * 2)
|
setDoubleTapZoomScale(scale * 2)
|
||||||
|
|
||||||
|
@ -261,4 +261,4 @@ open class ReaderPageImageView @JvmOverloads constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val MAX_ZOOM_SCALE = 3F
|
private const val MAX_ZOOM_SCALE = 5F
|
||||||
|
|
Loading…
Reference in a new issue