mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-18 10:22:00 +00:00
Better handle webtoon SSIV crop border change
This commit is contained in:
parent
443024cebb
commit
7aa379a857
1 changed files with 6 additions and 1 deletions
|
@ -363,7 +363,12 @@ class WebtoonPageHolder(
|
||||||
private fun initSubsamplingImageView(): SubsamplingScaleImageView {
|
private fun initSubsamplingImageView(): SubsamplingScaleImageView {
|
||||||
val config = viewer.config
|
val config = viewer.config
|
||||||
|
|
||||||
if (subsamplingImageView != null && config.imageCropBorders == cropBorders) {
|
if (subsamplingImageView != null) {
|
||||||
|
if (config.imageCropBorders != cropBorders) {
|
||||||
|
cropBorders = config.imageCropBorders
|
||||||
|
subsamplingImageView!!.setCropBorders(config.imageCropBorders)
|
||||||
|
}
|
||||||
|
|
||||||
return subsamplingImageView!!
|
return subsamplingImageView!!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue