Fix scrolling wheel behavior on OSX

Fix regression introduced by #95b1c96 for the fix in #25fa4df
This commit is contained in:
nwin 2015-03-05 11:54:48 +01:00
parent 15d0379633
commit 10490be8ba

View file

@ -300,7 +300,7 @@ impl<'a> Iterator for PollEventsIterator<'a> {
self.window.pending_events.lock().unwrap().extend(events.into_iter()); self.window.pending_events.lock().unwrap().extend(events.into_iter());
event event
}, },
NSScrollWheel => { Some(MouseWheel(-event.scrollingDeltaY() as i32)) }, NSScrollWheel => { Some(MouseWheel(event.scrollingDeltaY() as i32)) },
_ => { None }, _ => { None },
}; };