Remove TAB keybindings
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user