Make the mouse wheel events match natural direction on osx.
This commit is contained in:
parent
98345b701f
commit
25fa4dfef6
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ impl Window {
|
||||||
events.push_back(alt_modifier.unwrap());
|
events.push_back(alt_modifier.unwrap());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
NSScrollWheel => { events.push_back(MouseWheel(-event.scrollingDeltaY() as i32)); },
|
NSScrollWheel => { events.push_back(MouseWheel(event.scrollingDeltaY() as i32)); },
|
||||||
NSOtherMouseDown => { },
|
NSOtherMouseDown => { },
|
||||||
NSOtherMouseUp => { },
|
NSOtherMouseUp => { },
|
||||||
NSOtherMouseDragged => { },
|
NSOtherMouseDragged => { },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue