mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
enhance: Disable inset cutout workaround
Not entirely sure what's this workaround made for tbh
This commit is contained in:
parent
4b13a6580a
commit
7daf8fefc7
1 changed files with 2 additions and 0 deletions
|
@ -180,6 +180,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
|
|||
setMinimumScaleType(config.minimumScaleType)
|
||||
setMinimumDpi(1) // Just so that very small image will be fit for initial load
|
||||
setCropBorders(config.cropBorders)
|
||||
/*
|
||||
if (config.insetInfo != null) {
|
||||
val topInsets = config.insetInfo.topCutoutInset
|
||||
val bottomInsets = config.insetInfo.bottomCutoutInset
|
||||
|
@ -200,6 +201,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
|
|||
)
|
||||
}
|
||||
}
|
||||
*/
|
||||
setOnImageEventListener(
|
||||
object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
|
||||
override fun onReady() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue