X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcolorpicker.C;h=348817c4bac2915f44f10dd963d3e1ade73bba37;hb=166867a58d74619aa11aeb562a994cc364d62231;hp=7c0a38d0d946fa8364b5e0c84c25ed442d2110e2;hpb=052becff04e4f4a4240a87c6b2f2f4023b65d247;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/colorpicker.C b/cinelerra-5.1/cinelerra/colorpicker.C index 7c0a38d0..348817c4 100644 --- a/cinelerra-5.1/cinelerra/colorpicker.C +++ b/cinelerra-5.1/cinelerra/colorpicker.C @@ -252,6 +252,8 @@ void ColorGUI::create_objects() x += hue->get_w() + xs10; hsv_h = new PaletteHSV(this, x,y= y0, hsv.h, 0, 360); + hsv_h->set_increment(1); + hsv_h->set_precision(1); hsv_h->create_objects(); hsv_h->set_tooltip(_("Hue")); hsv_s = new PaletteHSV(this, x,y+=ys25, hsv.s, 0, 1); hsv_s->create_objects(); hsv_s->set_tooltip(_("Saturation")); @@ -1362,7 +1364,7 @@ void ColorButtonPicker::update(int color, int alpha) int ColorButtonPicker::handle_new_color(int color, int alpha) { color_button->lock_window("ColorButtonPicker::handle_new_color"); - color_button->update_gui(color, alpha); + color_button->update_gui(color); color_button->unlock_window(); return color_button->handle_new_color(color, alpha); }