From 949d7811cd75b54ffaf1de6ea55a3c62d072d2d8 Mon Sep 17 00:00:00 2001 From: Peepo-Juice <102474367+Peepo-Juice@users.noreply.github.com> Date: Tue, 11 Mar 2025 15:58:20 -0400 Subject: [PATCH] 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. --- --- crates/bevy_picking/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_picking/src/events.rs b/crates/bevy_picking/src/events.rs index a5435d6f59..7d4e14895d 100644 --- a/crates/bevy_picking/src/events.rs +++ b/crates/bevy_picking/src/events.rs @@ -278,7 +278,7 @@ pub struct DragDrop { } /// Dragging state. -#[derive(Debug, Clone)] +#[derive(Clone, PartialEq, Debug, Reflect)] pub struct DragEntry { /// The position of the pointer at drag start. pub start_pos: Vec2,