Make 'backswipe' a little easier to trigger
This commit is contained in:
parent
f3f3bfb335
commit
b08afc12fe
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ import {
|
||||||
BellIconSolid,
|
BellIconSolid,
|
||||||
} from '../../lib/icons'
|
} from '../../lib/icons'
|
||||||
|
|
||||||
const SWIPE_GESTURE_DIST_TRIGGER = 0.4
|
const SWIPE_GESTURE_DIST_TRIGGER = 0.3
|
||||||
const SWIPE_GESTURE_VEL_TRIGGER = 2500
|
const SWIPE_GESTURE_VEL_TRIGGER = 2000
|
||||||
|
|
||||||
const Btn = ({
|
const Btn = ({
|
||||||
icon,
|
icon,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue