Remove TAB keybindings
This commit is contained in:
@@ -131,7 +131,7 @@ void EmailAddressPage::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_);
|
||||
}
|
||||
}
|
||||
@@ -229,7 +229,7 @@ void EmailAddressPage::render(SDL_Renderer* renderer)
|
||||
}
|
||||
|
||||
hintText_.ensure(renderer, fontSmall_,
|
||||
"[Type] Enter email [ENTER] Save [BACKSPACE] Delete [ESC/TAB] Back", gray);
|
||||
"[Type] Enter email [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};
|
||||
|
||||
Reference in New Issue
Block a user