add load_file apply button, sketcher colorpicker alpha fix, tweak resize filebox...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / sketcher / sketcherwindow.C
index fc2ca4fcc7729ac25f5a1ad750340f7c23b774b7..76bd8d8fa5cf00a310c7dd40bad1b8fee91f0d19 100644 (file)
@@ -183,7 +183,7 @@ void SketcherCurveColorPicker::handle_done_event(int result)
 {
        color_update->stop();
        gui->lock_window("SketcherCurveColorPicker::handle_done_event");
-       if( result ) color = orig_color;
+       if( result ) { color = orig_color | (~orig_alpha<<24); }
        color_button->update_gui(color);
        gui->unlock_window();
        SketcherConfig &config = gui->plugin->config;