aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-11-07 20:19:22 -0800
committerAllan Wang <me@allanwang.ca>2020-11-07 20:19:22 -0800
commitf35a33b5c49c4dc768c1be8ddf3393f79acaa57f (patch)
treea7c55efe958144ef9a3a064132e4a16e38714e5d /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
parent8cac4ce54358f23a30a762bbb960309914507bb8 (diff)
downloadfrost-f35a33b5c49c4dc768c1be8ddf3393f79acaa57f.tar.gz
frost-f35a33b5c49c4dc768c1be8ddf3393f79acaa57f.tar.bz2
frost-f35a33b5c49c4dc768c1be8ddf3393f79acaa57f.zip
Disable context menu shortly after scrolling
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
index 62115a5a..324af69b 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
@@ -125,6 +125,7 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() {
JsAssets.CLICK_A,
JsAssets.CONTEXT_A,
JsAssets.MEDIA,
+ JsAssets.SCROLL_STOP,
prefs = prefs
)
}