You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rparrett opened this issue
Aug 31, 2023
· 0 comments
· Fixed by #9657
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and moreA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior
The text was updated successfully, but these errors were encountered:
rparrett
added
C-Bug
An unexpected or incorrect behavior
S-Needs-Triage
This issue needs to be labelled
A-Input
Player input via keyboard, mouse, gamepad, and more
A-UI
Graphical user interfaces, styles, layouts, and widgets
and removed
S-Needs-Triage
This issue needs to be labelled
labels
Aug 31, 2023
… 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.
… the window (bevyengine#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: bevyengine#9656
## Solution
Use the physical size of the window.
A-InputPlayer input via keyboard, mouse, gamepad, and moreA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior
Bevy version
main
bisected to: #8855
Relevant system information
What you did
scale_factor != 1.0
or set ascale_factor_override
.cargo run --example button
What went wrong
Button does not show appropriate focus state. Focus boundaries seem to be different from displayed button boundaries.
Additional information
This was noticed in #9637 but is unrelated.
The text was updated successfully, but these errors were encountered: