Hide webtoon reader scrollbars
Fixes #8676 (cherry picked from commit 99a717f84914d9bcd512359fc5f9c74fa07f08e4)
This commit is contained in:
parent
c756611005
commit
c93a696344
@ -53,6 +53,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user