bevyengine / bevyengine/bevy

Button example is not working correctly

Open
#7,607 4 comments 1 reaction 0 assignees View on GitHub
A-UI A-Windowing C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.