Fix floating-point error in navigate pan (#8856)
This commit is contained in:
parent
d8b528a4e0
commit
7b026cec8d
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
|
||||||
(pageView as? SubsamplingScaleImageView)?.let { view ->
|
(pageView as? SubsamplingScaleImageView)?.let { view ->
|
||||||
RectF().let {
|
RectF().let {
|
||||||
view.getPanRemaining(it)
|
view.getPanRemaining(it)
|
||||||
return fn(it) > 0
|
return fn(it) > 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Reference in a new issue