Fix scroll
This commit is contained in:
parent
fa6490c764
commit
5098450e8f
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ class UnlockedHorizontalScrollView : HorizontalScrollView {
|
|||
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
override fun onTouchEvent(event: MotionEvent): Boolean =
|
||||
super.onTouchEvent(event) || (recyclerView?.onTouchEvent(event) ?: false)
|
||||
super.onTouchEvent(event) or (recyclerView?.onTouchEvent(event) ?: false)
|
||||
|
||||
override fun onInterceptTouchEvent(event: MotionEvent): Boolean =
|
||||
super.onInterceptTouchEvent(event) || (recyclerView?.onInterceptTouchEvent(event) ?: false)
|
||||
super.onInterceptTouchEvent(event) or (recyclerView?.onInterceptTouchEvent(event) ?: false)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue