Skip to content

Commit

Permalink
Implement Eq and PartialEq for MouseScrollUnit (#5048)
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jun 19, 2022
1 parent 8b27124 commit 5dbb178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_input/src/mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 5dbb178

Please sign in to comment.