Reduce tap timeout

This commit is contained in:
Nick Mowen 2024-01-01 18:43:23 -07:00
parent b6c9ecb1c8
commit beaa7f7e97

View File

@ -186,8 +186,8 @@ function PreviewContent({
const touchEnd = new Date().getTime(); const touchEnd = new Date().getTime();
// consider tap less than 300 ms // consider tap less than 150 ms
if (touchEnd - touchStart < 300) { if (touchEnd - touchStart < 150) {
onClick(); onClick();
} }
}); });