From 2032ba3ba3552229e8f4ac259b00dfd531ac75ae Mon Sep 17 00:00:00 2001 From: len Date: Sun, 1 Jan 2017 21:30:29 +0100 Subject: [PATCH] Now using subsampling 3.6.0 --- app/build.gradle | 2 +- .../java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PageView.kt | 2 +- .../kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 72439233e..64df37b38 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,7 +98,7 @@ android { dependencies { // Modified dependencies - compile 'com.github.inorichi:subsampling-scale-image-view:c4db85c' + compile 'com.github.inorichi:subsampling-scale-image-view:e8b72cb' // Android support library final support_library_version = '25.0.1' diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PageView.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PageView.kt index bab6603c1..a7dc205f7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PageView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PageView.kt @@ -61,7 +61,7 @@ class PageView @JvmOverloads constructor(context: Context, attrs: AttributeSet? } with(image_view) { - setMaxBitmapDimensions((reader.activity as ReaderActivity).maxBitmapSize) + setMaxTileSize((reader.activity as ReaderActivity).maxBitmapSize) setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_FIXED) setPanLimit(SubsamplingScaleImageView.PAN_LIMIT_INSIDE) setMinimumScaleType(reader.scaleType) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt index 3b2557647..207ae2658 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt @@ -54,7 +54,7 @@ class WebtoonHolder(private val view: View, private val adapter: WebtoonAdapter) init { with(view.image_view) { - setMaxBitmapDimensions(readerActivity.maxBitmapSize) + setMaxTileSize(readerActivity.maxBitmapSize) setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_FIXED) setPanLimit(SubsamplingScaleImageView.PAN_LIMIT_INSIDE) setMinimumScaleType(SubsamplingScaleImageView.SCALE_TYPE_FIT_WIDTH)