mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 13:09:17 +01: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
@ -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 New Issue
Block a user