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
@@ -118,7 +118,7 @@ void DateFormatPage::handleEvent(const SDL_Event& event)
statusMessage_ = "Failed to save date format";
}
}
} else if (key == SDLK_ESCAPE || key == SDLK_TAB) {
} else if (key == SDLK_ESCAPE) {
state_->pages.pop(*state_);
}
}
@@ -212,7 +212,7 @@ void DateFormatPage::render(SDL_Renderer* renderer)
}
hintText_.ensure(renderer, fontSmall_,
"[UP/DOWN] Choose [ENTER] Apply & Back [ESC/TAB] Back", gray);
"[UP/DOWN] Choose [ENTER] Apply & Back [ESC] Back", gray);
if (hintText_.texture) {
float x = (fw - hintText_.width) / 2.0f;
SDL_FRect dst{x, fh - 40.0f, hintText_.width, hintText_.height};