diff options
author | Allan Wang <me@allanwang.ca> | 2019-07-02 00:21:48 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-07-02 00:21:48 -0700 |
commit | 99e70f4489ce210e514c9194cdac288d2de651c4 (patch) | |
tree | 602c3428c2355f3f58adb59e48d3af64985defe3 /app/src | |
parent | a351e432036417e33575abffe4d5450ac86798da (diff) | |
download | frost-99e70f4489ce210e514c9194cdac288d2de651c4.tar.gz frost-99e70f4489ce210e514c9194cdac288d2de651c4.tar.bz2 frost-99e70f4489ce210e514c9194cdac288d2de651c4.zip |
Remove nested scrolling on prescroll
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/NestedWebView.kt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/NestedWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/NestedWebView.kt index 6e7fc0b6..7c3c48e7 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/NestedWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/NestedWebView.kt @@ -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) |