X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsketcher%2Fsketcherwindow.C;h=76bd8d8fa5cf00a310c7dd40bad1b8fee91f0d19;hp=fc2ca4fcc7729ac25f5a1ad750340f7c23b774b7;hb=269d410062641e8f0094e73f87a3d9900c69dfd4;hpb=d66d68b9a5228a2f5894ea39e852df19036af800 diff --git a/cinelerra-5.1/plugins/sketcher/sketcherwindow.C b/cinelerra-5.1/plugins/sketcher/sketcherwindow.C index fc2ca4fc..76bd8d8f 100644 --- a/cinelerra-5.1/plugins/sketcher/sketcherwindow.C +++ b/cinelerra-5.1/plugins/sketcher/sketcherwindow.C @@ -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;