fixed delay

This commit is contained in:
Dominic Villemure
2024-08-24 18:44:47 -04:00
parent d0582185d2
commit b6e4fa1b6c

View File

@@ -187,11 +187,11 @@ function showReactions() {
function hideReactions() {
hideTimeout.value = setTimeout(() => {
menuVisible.value = false;
}, 1500); // Delay for 0.5 seconds before hiding
}, 250);
}
function onMouseDown() {
holdTimeout.value = setTimeout(showReactions, 1500);
holdTimeout.value = setTimeout(showReactions, 250);
}
function onMouseUp() {