mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-12 05:31:31 +11:00
Merge pull request #306 from nwin/patch-1
Fix scrolling wheel behavior on OSX
This commit is contained in:
commit
7154ea5cb0
|
@ -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