mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
Implement Eq
and PartialEq
for MouseScrollUnit
(#5048)
This commit is contained in:
parent
8b27124a80
commit
5dbb178d5d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue