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:
Andreas 2021-10-28 05:33:36 +02:00 committed by GitHub
parent 6129519e5a
commit 8f00d34b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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