summaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 4cfd0d57..95685001 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -145,7 +145,8 @@ pub struct Mouse {
pub scroll_px: i32,
pub line: Line,
pub column: Column,
- pub cell_side: Side
+ pub cell_side: Side,
+ pub lines_scrolled: f32,
}
impl Default for Mouse {
@@ -160,6 +161,7 @@ impl Default for Mouse {
line: Line(0),
column: Column(0),
cell_side: Side::Left,
+ lines_scrolled: 0.0,
}
}
}