mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 15:13:03 +00:00
fix mouse scrolling direction
This commit is contained in:
parent
73f12d2dc6
commit
0905971c79
1 changed files with 2 additions and 2 deletions
|
@ -183,11 +183,11 @@ async fn run() -> Result<()> {
|
|||
Event::Mouse(MouseEvent {
|
||||
kind: MouseEventKind::ScrollUp,
|
||||
..
|
||||
}) => Command::Down,
|
||||
}) => Command::Up,
|
||||
Event::Mouse(MouseEvent {
|
||||
kind: MouseEventKind::ScrollDown,
|
||||
..
|
||||
}) => Command::Up,
|
||||
}) => Command::Down,
|
||||
Event::Resize(..) => {
|
||||
updates3.fetch_or(0b001, Ordering::Relaxed);
|
||||
t3.unpark();
|
||||
|
|
Loading…
Reference in a new issue