Skip to content

Cursor position should reset when exiting a window. #1143

Closed
@visualcode-t

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions