Show dialogue choices in a box above the text box (#67)
Checks / web (push) Failing after 14s
Private ROM checks / private-rom (push) Failing after 15m52s

YES/NO, menus and amount boxes float above the text box on the right, as in
the original. The cursor marker reserves its width so the box keeps its size
as the cursor moves, and the app-made CANCEL button under menus is removed
because B leaves the menu.

Closes #67 [no-card]

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Leo CompeandClaude Sonnet 5.5 committed 2026-10-04 16:21:32 +02:00
1 parent 5546e575f4
commit 525ff092f2
2 files changed
+27 -10

No files matched your search

+2 -4
View File
@@ -291,10 +291,8 @@ function showChoice(choice: Choice | undefined) {
return option;
}),
);
container.replaceChildren(
list,
button("CANCEL", undefined, () => runtime.choose(-1)),
);
// As in the original there is no CANCEL entry: B leaves the menu.
container.replaceChildren(list);
// On a small screen the box scrolls; keep the highlighted entry in view.
list
.querySelector('[aria-selected="true"]')