aboutsummaryrefslogtreecommitdiffstats
path: root/src/cocoa
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-03-05 12:21:58 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-03-05 12:21:58 +0100
commit7154ea5cb07fa33b0820a4c471af51fd7fcf969e (patch)
tree35bf488fa19f9d9632f649e4a49014d02fc560b0 /src/cocoa
parent15d037963340577b5886afb1ad207f53aeb98c6d (diff)
parent10490be8babf0961458348353522b9dcebb20f1d (diff)
downloadglutin-7154ea5cb07fa33b0820a4c471af51fd7fcf969e.tar.gz
glutin-7154ea5cb07fa33b0820a4c471af51fd7fcf969e.zip
Merge pull request #306 from nwin/patch-1
Fix scrolling wheel behavior on OSX
Diffstat (limited to 'src/cocoa')
-rw-r--r--src/cocoa/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs
index 9819319..334ec42 100644
--- a/src/cocoa/mod.rs
+++ b/src/cocoa/mod.rs
@@ -300,7 +300,7 @@ impl<'a> Iterator for PollEventsIterator<'a> {
self.window.pending_events.lock().unwrap().extend(events.into_iter());
event
},
- NSScrollWheel => { Some(MouseWheel(-event.scrollingDeltaY() as i32)) },
+ NSScrollWheel => { Some(MouseWheel(event.scrollingDeltaY() as i32)) },
_ => { None },
};