mirror of
https://github.com/bevyengine/bevy
synced 2024-11-30 08:30:24 +00:00
3cf94e7c9d
# Objective Fixes #8840 Make the cursor position more consistent, right now the cursor position is *sometimes* outside of the window and returns the position and *sometimes* `None`. Even in the cases where someone might be using that position that is outside of the window, it'll probably require some manual transformations for it to actually be useful. ## Solution Check the windows width and height for out of bounds positions. --- ## Changelog - Cursor position is now always `None` when outside of the window. --------- Co-authored-by: ickshonpe <david.curthoys@googlemail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |