Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Hide webtoon reader scrollbars

Fixes #8676
Cette révision appartient à :
arkon 2022-12-04 18:09:37 -05:00
Parent 4622b18c99
révision 99a717f849

Voir le fichier

@ -40,6 +40,11 @@ class WebtoonRecyclerView @JvmOverloads constructor(
var tapListener: ((MotionEvent) -> Unit)? = null
var longTapListener: ((MotionEvent) -> Boolean)? = null
init {
isVerticalScrollBarEnabled = false
isHorizontalScrollBarEnabled = false
}
override fun onMeasure(widthSpec: Int, heightSpec: Int) {
halfWidth = MeasureSpec.getSize(widthSpec) / 2
halfHeight = MeasureSpec.getSize(heightSpec) / 2