mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Login screen's first detected tab triggers username focus
This commit is contained in:
parent
099ed62a69
commit
177fbcb0bc
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
- Use fluent for translations
|
||||
- First tab on Login screen triggers username focus
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -501,6 +501,9 @@ impl Controls {
|
||||
screen.banner.server = text_input::State::new();
|
||||
screen.banner.username = text_input::State::focused();
|
||||
screen.banner.username.move_cursor_to_end();
|
||||
} else {
|
||||
screen.banner.username = text_input::State::focused();
|
||||
screen.banner.username.move_cursor_to_end();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user