Skip to content

Commit

Permalink
Add can_bubble attribute to Pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeForceZero committed Feb 21, 2024
1 parent 8c9dbed commit 62d7519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_picking_core/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use bevy_utils::{tracing::error, HashMap};

/// Stores the common data needed for all `PointerEvent`s.
#[derive(Clone, PartialEq, Debug, Reflect, Event, EntityEvent)]
#[can_bubble]
pub struct Pointer<E: Debug + Clone + Reflect> {
/// The target of this event
#[target]
Expand Down

0 comments on commit 62d7519

Please sign in to comment.