mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Make the mouse wheel events match natural direction on osx.
This commit is contained in:
1 parent
98345b701f
commit
25fa4dfef6
1 file changed
+1
-1
+1
-1
@@ -490,7 +490,7 @@ impl Window {
|
||||
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 => { },
|
||||
NSOtherMouseUp => { },
|
||||
NSOtherMouseDragged => { },
|
||||
|
||||
Reference in new issue
Block a user