Skip to content

Commit 949d781

Browse files
authored
Sync up the Derive of DragEntry to match the other events (#18220)
# Objective Add `#[derive(Clone, PartialEq, Debug, Reflect)]` to DragEntry so it matches the other picking events. ## Solution Copy/paste (RIP Larry Tesler) ## Testing Just ran cargo check. I don't believe this should break anything because I did not remove any derives it had before. ---
1 parent 8570af1 commit 949d781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_picking/src/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ pub struct DragDrop {
278278
}
279279

280280
/// Dragging state.
281-
#[derive(Debug, Clone)]
281+
#[derive(Clone, PartialEq, Debug, Reflect)]
282282
pub struct DragEntry {
283283
/// The position of the pointer at drag start.
284284
pub start_pos: Vec2,

0 commit comments

Comments
 (0)