mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Reduce tap timeout
This commit is contained in:
parent
b6c9ecb1c8
commit
beaa7f7e97
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user