From beaa7f7e97a44a1d421569d15be010efc87a0451 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 1 Jan 2024 18:43:23 -0700 Subject: [PATCH] Reduce tap timeout --- web/src/components/player/PreviewThumbnailPlayer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/player/PreviewThumbnailPlayer.tsx b/web/src/components/player/PreviewThumbnailPlayer.tsx index 47d232409..a923fce11 100644 --- a/web/src/components/player/PreviewThumbnailPlayer.tsx +++ b/web/src/components/player/PreviewThumbnailPlayer.tsx @@ -186,8 +186,8 @@ function PreviewContent({ const touchEnd = new Date().getTime(); - // consider tap less than 300 ms - if (touchEnd - touchStart < 300) { + // consider tap less than 150 ms + if (touchEnd - touchStart < 150) { onClick(); } });