Skip to content

Button example is not working correctly #7607

@Pietrek14

Description

@Pietrek14

Bevy version

#7598, but on my fork so I recommend checking it for yourself.

Relevant system information

Rust version: 1.67.0
OS: Windows 10

What you did

cargo run --example button

What went wrong

The hovering works correctly, but when I press the button it doesn't react until I move the cursor or release the mouse button.

Additional information

It works without the WinitSettings::desktop_app() resource, so I expect the bug to be related to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsA-WindowingPlatform-agnostic interface layer to run your app inC-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