refs #3520 feat:silex→salix

This commit is contained in:
Sergio De la torre 2024-04-19 10:03:15 +02:00
parent cfe1f93c68
commit 30ca458048
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ class WebFragment(
val deltaAbsX = abs(deltaX) val deltaAbsX = abs(deltaX)
val deltaAbsY = abs(deltaY) val deltaAbsY = abs(deltaY)
if (deltaAbsX > deltaAbsY) { if (deltaAbsX > deltaAbsY) {
if (velocityX > 100 && velocityY < 2000) { if (velocityX > 2000 && velocityY < 500 && velocityY>=0) {
binding.webView.goBack() binding.webView.goBack()
return true return true