X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcolorpicker.C;h=9a995958c27377fd0c3a1762ddb5af763ea831e4;hp=b910b9f4cab42dc2d5ce6a201815b4be97ee5396;hb=827586949547b489a6a842729ad01a983f3eb051;hpb=e5efe8eb05910bbd7e002f351c5468d894b0c71d diff --git a/cinelerra-5.1/cinelerra/colorpicker.C b/cinelerra-5.1/cinelerra/colorpicker.C index b910b9f4..9a995958 100644 --- a/cinelerra-5.1/cinelerra/colorpicker.C +++ b/cinelerra-5.1/cinelerra/colorpicker.C @@ -1276,7 +1276,6 @@ void ColorButtonPicker::update(int color, int alpha) int ColorButtonPicker::handle_new_color(int color, int alpha) { update(color, alpha); - color_button->handle_new_color(color, alpha); return 1; } @@ -1290,6 +1289,7 @@ void ColorButtonPicker::update_gui() void ColorButtonPicker::update_gui(int color, int alpha) { ColorPicker::update_gui(color, alpha); + color_button->handle_new_color(color, alpha); } ColorButtonThread::ColorButtonThread(ColorButton *color_button)