More responsive start menu

This commit is contained in:
Dustin Brett 2022-06-09 21:02:42 -07:00
parent 47cda1bd4b
commit 5f663ad9a0

View File

@ -45,7 +45,10 @@ const useDoubleClick = (
}
};
if (singleClick || (!mouseEvent && doubleClickEvent)) {
if (
(singleClick && !doubleClickEvent) ||
(!mouseEvent && doubleClickEvent)
) {
runHandler();
} else if (typeof timer.current === "undefined") {
timer.current = window.setTimeout(