Compare commits
2 commits
8b772a1a72
...
9a953980dc
Author | SHA1 | Date | |
---|---|---|---|
9a953980dc | |||
4b22115159 |
1 changed files with 0 additions and 1 deletions
|
@ -79,7 +79,6 @@ const { lengthX, direction, isSwiping } = useSwipe(top, {
|
||||||
passive: true,
|
passive: true,
|
||||||
threshold: 30,
|
threshold: 30,
|
||||||
onSwipe() {
|
onSwipe() {
|
||||||
console.log(direction.value)
|
|
||||||
if (['down', 'up'].includes(direction.value)) return
|
if (['down', 'up'].includes(direction.value)) return
|
||||||
left.value = `${-clamp(lengthX.value, -100, 100)}px`
|
left.value = `${-clamp(lengthX.value, -100, 100)}px`
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue