fixed delay
This commit is contained in:
@@ -187,11 +187,11 @@ function showReactions() {
|
|||||||
function hideReactions() {
|
function hideReactions() {
|
||||||
hideTimeout.value = setTimeout(() => {
|
hideTimeout.value = setTimeout(() => {
|
||||||
menuVisible.value = false;
|
menuVisible.value = false;
|
||||||
}, 1500); // Delay for 0.5 seconds before hiding
|
}, 250);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMouseDown() {
|
function onMouseDown() {
|
||||||
holdTimeout.value = setTimeout(showReactions, 1500);
|
holdTimeout.value = setTimeout(showReactions, 250);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMouseUp() {
|
function onMouseUp() {
|
||||||
|
|||||||
Reference in New Issue
Block a user