DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2323
Version: 1.3-current
Link: http://www.fltk.org/str.php?L2323
Version: 1.3-current
Index: Fl_cocoa.mm
===================================================================
--- Fl_cocoa.mm (revision 7196)
+++ Fl_cocoa.mm (working copy)
@@ -791,12 +791,12 @@
Fl::first_window(window);
if ([theEvent deltaX] != 0) {
- Fl::e_dx = (int)-[theEvent deltaX];
+ Fl::e_dx = (int)-([theEvent deltaX] * 10.0);
Fl::e_dy = 0;
if ( Fl::e_dx) Fl::handle( FL_MOUSEWHEEL, window );
} else if ([theEvent deltaY] != 0) {
Fl::e_dx = 0;
- Fl::e_dy = (int)-[theEvent deltaY];
+ Fl::e_dy = (int)-([theEvent deltaY] * 10.0);
if ( Fl::e_dy) Fl::handle( FL_MOUSEWHEEL, window );
} else {
fl_unlock_function();
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs