From 088f8b8b54c424620486b6aeade07a1da70d467a Mon Sep 17 00:00:00 2001 From: morcefaster <51055657+morcefaster@users.noreply.github.com> Date: Sun, 15 Mar 2020 22:02:40 +0200 Subject: [PATCH] Changed default pager zoom style to ZOOM_FOCUS_CENTER (#2713) Changed default pager zoom style to ZOOM_FOCUS_CENTER --- .../kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt index f77c25d556..1a31e9a26f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt @@ -303,7 +303,7 @@ class PagerPageHolder( subsamplingImageView = SubsamplingScaleImageView(context).apply { layoutParams = FrameLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT) setMaxTileSize(viewer.activity.maxBitmapSize) - setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_FIXED) + setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_CENTER) setDoubleTapZoomDuration(config.doubleTapAnimDuration) setPanLimit(SubsamplingScaleImageView.PAN_LIMIT_INSIDE) setMinimumScaleType(config.imageScaleType)