Make 'backswipe' a little easier to trigger
parent
f3f3bfb335
commit
b08afc12fe
|
@ -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…
Reference in New Issue