diff --git a/crates/bevy_input/src/mouse.rs b/crates/bevy_input/src/mouse.rs index c88c0295abffa..c8dc432094824 100644 --- a/crates/bevy_input/src/mouse.rs +++ b/crates/bevy_input/src/mouse.rs @@ -56,7 +56,7 @@ pub struct MouseMotion { /// /// The value of the event can either be interpreted as the amount of lines or the amount of pixels /// to scroll. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, Eq, PartialEq)] pub enum MouseScrollUnit { /// The line scroll unit. ///