bevy/crates/bevy_window/src
ickshonpe 11567b31f9
Change Window::physical_cursor_position to use the physical size of the window (#9657)
# 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.
2023-08-31 19:02:33 +00:00
..
cursor.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
event.rs Expose WindowDestroyed events (#9016) 2023-07-04 21:50:53 +00:00
lib.rs improve documentation relating to WindowPlugin and Window (#9173) 2023-07-30 15:46:16 +00:00
raw_handle.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
system.rs fix typo (#9651) 2023-08-31 07:20:53 +00:00
window.rs Change Window::physical_cursor_position to use the physical size of the window (#9657) 2023-08-31 19:02:33 +00:00