mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-29 11:43:21 -05:00
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
|
||||||
|
|
Loading…
Reference in a new issue