fix mouse scrolling direction

This commit is contained in:
figsoda 2021-01-16 13:59:12 -05:00
parent 73f12d2dc6
commit 0905971c79

View file

@ -183,11 +183,11 @@ async fn run() -> Result<()> {
Event::Mouse(MouseEvent { Event::Mouse(MouseEvent {
kind: MouseEventKind::ScrollUp, kind: MouseEventKind::ScrollUp,
.. ..
}) => Command::Down, }) => Command::Up,
Event::Mouse(MouseEvent { Event::Mouse(MouseEvent {
kind: MouseEventKind::ScrollDown, kind: MouseEventKind::ScrollDown,
.. ..
}) => Command::Up, }) => Command::Down,
Event::Resize(..) => { Event::Resize(..) => {
updates3.fetch_or(0b001, Ordering::Relaxed); updates3.fetch_or(0b001, Ordering::Relaxed);
t3.unpark(); t3.unpark();