bevyengine / bevyengine/bevy

Bevy UI multiple button partial touch release

Open
#11,553 2 comments 0 reactions 0 assignees View on GitHub
A-Input A-UI C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

Version 0.12

## What you did

Created a ui with two button.
Touched both buttons at the same time with two different fingers.
Released just one finger, and both buttons got released, not just the one under the raised finger.

Example: You have a mobile spaceship game with a virtual joystick on the left, and a thrust button on the right. Lifting your finger off the virtual joystick is currently causing the thrust button to get released while you are still holding the thrust button down.

## What went wrong

Was expecting just one button would be released, not both.

## Additional information

Bevy ui would need to keep track of touch IDs so it will know which buttons a touch end event is for.

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.