Author: spitzak
Date: 2007-06-06 16:16:41 -0400 (Wed, 06 Jun 2007)
New Revision: 5884
Log:
Fix for STR 1651.
Mouse wheel would not obey the range of a slider because it thought the
current value was already out of range.
Modified:
trunk/src/Valuator.cxx
Modified: trunk/src/Valuator.cxx
===================================================================
--- trunk/src/Valuator.cxx 2007-06-06 19:50:47 UTC (rev 5883)
+++ trunk/src/Valuator.cxx 2007-06-06 20:16:41 UTC (rev 5884)
@@ -321,6 +321,7 @@
return 0;
}
case MOUSEWHEEL:
+ previous_value_ = value();
handle_drag(value()+(event_dx()-event_dy())*linesize());
return 1;
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit