fixed delay
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user