diff options
author | nwin <nwin@users.noreply.github.com> | 2015-03-05 11:54:48 +0100 |
---|---|---|
committer | nwin <nwin@users.noreply.github.com> | 2015-03-05 11:54:48 +0100 |
commit | 10490be8babf0961458348353522b9dcebb20f1d (patch) | |
tree | 35bf488fa19f9d9632f649e4a49014d02fc560b0 /src/cocoa | |
parent | 15d037963340577b5886afb1ad207f53aeb98c6d (diff) | |
download | glutin-10490be8babf0961458348353522b9dcebb20f1d.tar.gz glutin-10490be8babf0961458348353522b9dcebb20f1d.zip |
Fix scrolling wheel behavior on OSX
Fix regression introduced by #95b1c96 for the fix in #25fa4df
Diffstat (limited to 'src/cocoa')
-rw-r--r-- | src/cocoa/mod.rs | 2 |
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 }, }; |