mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user