mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Fix scrolling wheel behavior on OSX
Fix regression introduced by #95b1c96 for the fix in #25fa4df
This commit is contained in:
parent
15d0379633
commit
10490be8ba
|
@ -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 },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue