|
@@ -58,7 +58,8 @@ export default function useSmoothSwipe({
|
|
|
|
|
|
//
|
|
//
|
|
watch(moveSpeed, (v) => {
|
|
watch(moveSpeed, (v) => {
|
|
- if (!haveSwipedThisTime.value && v) {
|
|
|
|
|
|
+ console.log(v)
|
|
|
|
+ if (!haveSwipedThisTime.value && Math.abs(v) > 0.1) {
|
|
haveSwipedThisTime.value = true
|
|
haveSwipedThisTime.value = true
|
|
}
|
|
}
|
|
})
|
|
})
|