-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace bevy_a11y::Focus with InputFocus (#16863)
# Objective Bevy now has first-class input focus handling! We should use this for accessibility purpose via accesskit too. ## Solution - Removed bevy_a11y::Focus. - Replaced all usages of Focus with InputFocus - Changed the dependency tree so bevy_a11y relies on bevy_input_focus - Moved initialization of the focus (starts with the primary window) from bevy_window to bevy_input_focus to avoid circular dependencies (and it's cleaner) ## Testing TODO ## Migration Guide `bevy_a11y::Focus` has been replaced with `bevy_input_focus::Focus`.
- Loading branch information
1 parent
6ca1e75
commit fa6cabd
Showing
7 changed files
with
29 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters