mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 08:01:50 +01:00
Fix floating-point error in navigate pan (#8856)
This commit is contained in:
parent
d8b528a4e0
commit
7b026cec8d
@ -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 New Issue
Block a user