mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 23:23:05 +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 {
|
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();
|
||||||
|
|
Loading…
Reference in a new issue