feat(nds): improve some button interactions

This commit is contained in:
2026-02-10 17:00:11 +01:00
parent 1458acd20b
commit 18080dee1d
5 changed files with 18 additions and 8 deletions

View File

@@ -221,8 +221,8 @@ export const useButtonNavigation = <T extends Record<string, Rect>>({
}
});
useKeyDown(({ key }) => {
if (blockInteractions.value) return;
useKeyDown(({ key, repeated }) => {
if (blockInteractions.value || repeated) return;
const currentButton = selectedButton.value as Entry;
const currentNav = navigation[currentButton];