1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-08-19 21:11:31 +02:00

Change zoom from 3x to 5x ()

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:
Andreas
2021-10-28 05:33:36 +02:00
committed by GitHub
parent 6129519e5a
commit 8f00d34b0b

@@ -141,7 +141,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
setOnImageEventListener(
object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
override fun onReady() {
// 3x zoom
// 5x zoom
maxScale = scale * MAX_ZOOM_SCALE
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