Feature Request: manually control swipe speed in function swipe
raphtastisch opened this issue · 1 comments
raphtastisch commented
It would be cool if the swipe speed of the function "swipe" could be set manually.
I assume its enough if you do the following:
Change:
async swipe (dir = 'right') {
if (onSwipe) onSwipe(dir)
const power = 1.3
const disturbance = (Math.random() - 0.5) / 2
To:
async swipe (dir = 'right', power=1.3) {
if (onSwipe) onSwipe(dir)
const disturbance = (Math.random() - 0.5) / 2
Probably it's also a good idea to do the same with disturbance if you are on it.
mrsafalpiya commented
+1