1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-10 04:52:38 +01:00

Remove nested scrolling on prescroll

This commit is contained in:
Allan Wang 2019-07-02 00:21:48 -07:00
parent a351e43203
commit 99e70f4489
No known key found for this signature in database
GPG Key ID: C93E3F9C679D7A56

View File

@ -72,8 +72,6 @@ open class NestedWebView @JvmOverloads constructor(
// NestedPreScroll
if (dispatchNestedPreScroll(0, deltaY, scrollConsumed, scrollOffset)) {
deltaY -= scrollConsumed[1]
event.offsetLocation(0f, -scrollOffset[1].toFloat())
nestedOffsetY += scrollOffset[1]
}
lastY = eventY - scrollOffset[1]
returnValue = super.onTouchEvent(event)