chore: update lint
This commit is contained in:
parent
c7558ee7c5
commit
9465c2fe89
20 changed files with 164 additions and 124 deletions
|
@ -63,7 +63,7 @@ const { isSwiping, lengthX, lengthY, direction } = useSwipe(target, {
|
|||
})
|
||||
|
||||
useGesture({
|
||||
onPinch({ offset: [distance, angle] }) {
|
||||
onPinch({ offset: [distance, _angle] }) {
|
||||
set({ scale: Math.max(0.5, 1 + distance / 200) })
|
||||
},
|
||||
onMove({ movement: [x, y], dragging, pinching }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue