bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Fix comment in `pointer_events`

Open ickshonpe opened this issue 3 weeks ago • 2 comments

Objective

Comment from bevy_picking::events::pointer_events:

                // Emit Click and Up events on all the previously hovered entities.

The event is named Release, not Up.

Solution

Replace Up with Release.

ickshonpe avatar Dec 01 '25 10:12 ickshonpe

well if you're changing things around there, could you replace the events with messages? 😄

mockersf avatar Dec 01 '25 22:12 mockersf

well if you're changing things around there, could you replace the events with messages? 😄

It dispatches both events and messages so it's confusing what to do, I guess it could say "events and messages"? The whole module just uses "event" as a blanket term to mean both events and messages though.

ickshonpe avatar Dec 02 '25 11:12 ickshonpe