Show info on zoomed out tap
This commit is contained in:
@@ -251,7 +251,6 @@ const ImageItem = ({
|
||||
// Go back to 1:1 using the identity vector.
|
||||
let t = createTransform()
|
||||
committedTransform.value = withClampedSpring(t)
|
||||
return
|
||||
}
|
||||
runOnJS(onTap)()
|
||||
})
|
||||
|
||||
@@ -117,9 +117,8 @@ const ImageItem = ({
|
||||
height: SCREEN.height,
|
||||
animated: true,
|
||||
})
|
||||
} else {
|
||||
onTap()
|
||||
}
|
||||
onTap()
|
||||
}
|
||||
|
||||
const singleTap = Gesture.Tap().onEnd(() => {
|
||||
|
||||
Reference in New Issue
Block a user