Closed rageworx closed 1 year ago
As RGB(float)
Strange, valuators are set range for these,
Test gin out-ranged in Fl_Valuator with Fl_Color_Chooser,
Changed Fl_Valuator.value() set through softclamp() with debugging prints,
It happens to
debugging prints as ,
Looks softclamp()
is not works ?
Simply tested to using min,max preprocessor as like this,
Valuator set to right ranged ( not for step )
But still Fl_Color_Chooser appears bad text value,
Modifying Fl_Valuator::value() is not right way, need to use Fl_Valuator::clamp() or round() instead value() in Fl_Color_Chooser.
Fixed from fltk-custom and fltk/fltk too.
When I call
fl_color_chooser()
with RGB values, there's no protection for out-ranged values for R/G/B or H/S/V.