Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make InputFocus optional in bevy_winit (#17358)
# Objective - Stop bevy from crashing when losing window focus ## Solution - The InputFocus resource is optional but is accessed unconditionally in bevy_winit. Make it optional. ## Testing - Ran the window_settings example ## Note It's possible this might not be a full fix for the issue, but this stop bevy from crashing. Closes #16961 Closes #17227
- Loading branch information