refs #3520 feat:silex→salix
This commit is contained in:
parent
cfe1f93c68
commit
30ca458048
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue