mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
crossterm: fix scroll up event conversion (#417)
This commit is contained in:
parent
54de6ca6c0
commit
f1fe477e6d
@ -275,7 +275,7 @@ impl Backend {
|
|||||||
position = (x, y).into();
|
position = (x, y).into();
|
||||||
}
|
}
|
||||||
CMouseEvent::ScrollUp(x, y, _) => {
|
CMouseEvent::ScrollUp(x, y, _) => {
|
||||||
event = MouseEvent::WheelDown;
|
event = MouseEvent::WheelUp;
|
||||||
position = (x, y).into();
|
position = (x, y).into();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user