mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
17b7025a78
# Objective - Closes https://github.com/bevyengine/bevy/issues/6590 - The grab mode is platform dependent, this is problematic for bevy users since we can't easily use the recommended way to detect if the feature works like the winit docs recommend https://docs.rs/winit/0.27.5/winit/window/struct.Window.html#method.set_cursor_grab ## Solution Try to use the grab mode that was requested, if it fails use the other one. Only then log an error if it fails after this step. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |