diff --git a/Fltk/inputRange.h b/Fltk/inputRange.h index 541e83ec982f6533d17c03438f4dad0887a85f6c..849ff56280019a4334aa1d92465d94319e4b4954 100644 --- a/Fltk/inputRange.h +++ b/Fltk/inputRange.h @@ -38,7 +38,7 @@ class inputRange : public Fl_Group { // workaround annoying behaviour of Fl_Value_Input: if step is a nonzero // integer, one can only enter integer values in the widget; se we force // nonzero steps to be noninteger - if(step && step - floor(step) <= 0) step *= (1. - 1e-16); + if(step && step - floor(step) <= 0) step *= (1. - 1e-7); return step; } void _values2string()