Remove TAB keybindings

This commit is contained in:
NeilClack
2026-08-13 14:37:35 -05:00
parent 4abcfa473f
commit fe2c9ba6a5
10 changed files with 16 additions and 34 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ void LicenseKeyPage::handleEvent(const SDL_Event& event)
}
} else if (key == SDLK_RETURN || key == SDLK_KP_ENTER) {
submit();
} else if (key == SDLK_ESCAPE || key == SDLK_TAB) {
} else if (key == SDLK_ESCAPE) {
exitPage(*state_);
}
}
@@ -242,7 +242,7 @@ void LicenseKeyPage::render(SDL_Renderer* renderer)
}
hintText_.ensure(renderer, fontSmall_,
"[Type] Enter key (dashes added automatically) [ENTER] Save [BACKSPACE] Delete [ESC/TAB] Back", gray);
"[Type] Enter key (dashes added automatically) [ENTER] Save [BACKSPACE] Delete [ESC] Back", gray);
if (hintText_.texture) {
float x = (fw - hintText_.width) / 2.0f;
SDL_FRect dst{x, fh - 40.0f, hintText_.width, hintText_.height};