Merge pull request #261 from glennw/fix-osx-mouse-wheel

Make the mouse wheel events match natural direction on osx.
This commit is contained in:
tomaka 2015-02-10 08:20:05 +01:00
commit 9884908240

View file

@ -490,7 +490,7 @@ impl Window {
events.push_back(alt_modifier.unwrap());
}
},
NSScrollWheel => { events.push_back(MouseWheel(-event.scrollingDeltaY() as i32)); },
NSScrollWheel => { events.push_back(MouseWheel(event.scrollingDeltaY() as i32)); },
NSOtherMouseDown => { },
NSOtherMouseUp => { },
NSOtherMouseDragged => { },