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 james7132 committed Jun 22, 2022
1 parent 619bdb9 commit 65a6c9a
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 65a6c9a

Please sign in to comment.