bevyengine / bevyengine/bevy

add a way to prevent touch propagation for ui system

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

Description

## What problem does this solve or what need does it fill?

For UI buttons, if it is clicked, then the touches's just_pressed event should not propagate to next level.

## What alternative(s) have you considered?

Now, I can track touch ids to do this kind of logic myself, but it's kinda dirty..

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.