mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
11567b31f9
# Objective `Window::physical_cursor_position` checks to see if the cursor's position is inside the window but it constructs the bounding rect for the window using its logical size and then checks to see if it contains the cursor's physical position. When the physical size is smaller than the logical size, this leaves a dead zone where the cursor is over the window but its position is unreported. fixes: #9656 ## Solution Use the physical size of the window. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |