More documentation
This commit is contained in:
parent
fa00813c0b
commit
405c77bb47
3 changed files with 25 additions and 5 deletions
|
|
@ -249,7 +249,9 @@ where
|
|||
},
|
||||
MouseEvent::WheelScrolled { delta } => match delta {
|
||||
ScrollDelta::Lines { x, y } => {
|
||||
buffer.action(TextAction::Scroll((-y * 6.0) as i32));
|
||||
buffer.action(TextAction::Scroll {
|
||||
lines: (-y * 6.0) as i32,
|
||||
});
|
||||
Status::Captured
|
||||
},
|
||||
_ => Status::Ignored,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue