aboutsummaryrefslogtreecommitdiffstats
path: root/src/events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events.rs b/src/events.rs
index 2fcdc61..27ed8b7 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -99,7 +99,7 @@ pub enum MouseButton {
Other(u8),
}
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq)]
pub enum MouseScrollDelta {
/// Amount in lines or rows to scroll in the horizontal
/// and vertical directions.