Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor position should reset when exiting a window. #1143

Closed
visualcode-t opened this issue Dec 24, 2020 · 1 comment
Closed

Cursor position should reset when exiting a window. #1143

visualcode-t opened this issue Dec 24, 2020 · 1 comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior

Comments

@visualcode-t
Copy link

Bevy version

0.4.0

Operating system & version

Windows 10

What you did

After placing multiple ButtonBundles which change on Interaction I removed my cursor from the screen and began to resize the window.

What you expected to happen

I expect that the currently hovered ButtonBundle lose its hover.

What actually happened

Not only does the currently hovered ButtonBundle remain hovered, but, it also transfers that hover to other ButtonBundles as the window resizes, if those buttons move to where the mouse had been.

Additional information

When the window is resized, I have the buttons scale and move to match the new window size. So, the placement and size of the buttons does move around.

@Moxinilian Moxinilian added C-Bug An unexpected or incorrect behavior A-UI Graphical user interfaces, styles, layouts, and widgets labels Dec 26, 2020
@DJMcNab
Copy link
Member

DJMcNab commented Feb 13, 2022

I think this should be fixed by #3926. If that's not correct, please comment and someone will re-open this (or re-open it if you have permissions to).

@DJMcNab DJMcNab closed this as completed Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

3 participants