Show info on zoomed out tap

This commit is contained in:
Dan Abramov
2024-11-03 03:42:25 +00:00
parent 8e96154a4d
commit f0621eed3b
2 changed files with 1 additions and 3 deletions
@@ -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(() => {