Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added multi windows check for bevy_ui
Interaction
. (bevyengine#5225)
# Objective - Currently bevy_ui only checks for primary window cursor position to determine `Interaction` behavior. - Added checks for focused window where cursor position is available. - Fixes bevyengine#5224. ## Solution - Added checks for focused windows in `Interaction` focus system. ## Follow Up - All windows with camera will be rendering the UI elements right now. - We will need some way to tell which camera to render which UI. --- Co-authored-by: fadhliazhari <[email protected]>
- Loading branch information