mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2025-10-30 08:03:03 +00:00
Fix up/down navigation on text input elements
This commit is contained in:
parent
43ec2d27be
commit
9d6a39f68a
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@ namespace recompui {
|
|||
set_border_color(Color{ 242, 242, 242, 255 });
|
||||
set_border_bottom_width(1.0f);
|
||||
set_padding_bottom(6.0f);
|
||||
set_focusable(true);
|
||||
set_nav_auto(NavDirection::Up);
|
||||
set_nav_auto(NavDirection::Down);
|
||||
set_tab_index_auto();
|
||||
}
|
||||
|
||||
void TextInput::set_text(std::string_view text) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue