feat(nds): improve some button interactions

This commit is contained in:
2026-02-10 17:00:11 +01:00
parent 93e6922b68
commit 069884123b
5 changed files with 18 additions and 8 deletions

View File

@@ -8,8 +8,8 @@ const QUIT_SIZE = assets.images.achievements.quit.rect.width;
const QUIT_X = Math.floor(LOGICAL_WIDTH / 2 - QUIT_SIZE / 2);
const QUIT_Y = 135;
useKeyDown(({ key }) => {
if (store.isIntro || store.isOutro) return;
useKeyDown(({ key, repeated }) => {
if (store.isIntro || store.isOutro || repeated) return;
switch (key) {
case "NDS_B":