Remove TAB keybindings
This commit is contained in:
@@ -142,7 +142,7 @@ void LogViewerPage::handleEvent(const SDL_Event& event) {
|
||||
scrollOffset_ = std::max(0, scrollOffset_ - 10);
|
||||
} else if (key == SDLK_PAGEDOWN) {
|
||||
scrollOffset_ += 10;
|
||||
} else if (key == SDLK_ESCAPE || key == SDLK_TAB) {
|
||||
} else if (key == SDLK_ESCAPE) {
|
||||
state_->pages.pop(*state_);
|
||||
}
|
||||
}
|
||||
@@ -236,7 +236,7 @@ void LogViewerPage::render(SDL_Renderer* renderer) {
|
||||
|
||||
// 4. Footer Help Line
|
||||
footerText_.ensure(renderer, fontSmall_,
|
||||
"[UP/DOWN] Scroll [L/F2] Filter Level [S/F3] Sort Order [C] Clear Logs [ESC/TAB] Back", gray);
|
||||
"[UP/DOWN] Scroll [L/F2] Filter Level [S/F3] Sort Order [C] Clear Logs [ESC] Back", gray);
|
||||
if (footerText_.texture) {
|
||||
float x = (fw - footerText_.width) / 2.0f;
|
||||
SDL_FRect dst{x, fh - 35.0f, footerText_.width, footerText_.height};
|
||||
|
||||
Reference in New Issue
Block a user