Merge branch 'airshipper_field_acessibility' into 'master'

Login screen's first detected tab triggers username focus

See merge request veloren/veloren!3526
This commit is contained in:
Justin Shipsey 2022-08-11 00:12:42 +00:00
commit ce52e53033
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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();
}
}
}