From 10490be8babf0961458348353522b9dcebb20f1d Mon Sep 17 00:00:00 2001 From: nwin Date: Thu, 5 Mar 2015 11:54:48 +0100 Subject: Fix scrolling wheel behavior on OSX Fix regression introduced by #95b1c96 for the fix in #25fa4df --- src/cocoa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 }, }; -- cgit v1.2.3