Skip to content

Commit

Permalink
Implement Eq and PartialEq for MouseScrollUnit (bevyengine#5048)
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv authored and ItsDoot committed Feb 1, 2023
1 parent 49ef941 commit 5ca80bb
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 5ca80bb

Please sign in to comment.