feat(nds): improve some button interactions
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user