From: DL1YCF Date: Sun, 15 Nov 2020 22:36:38 +0000 (+0100) Subject: better visibility updated X-Git-Url: https://git.rkrishnan.org/uri/vdrive/(%5B%5E?a=commitdiff_plain;h=c5193cc0b5ccdd3250254b8ba379156835b0a29e;p=pihpsdr.git better visibility updated --- diff --git a/rx_panadapter.c b/rx_panadapter.c index 4c35054..0373b9d 100644 --- a/rx_panadapter.c +++ b/rx_panadapter.c @@ -558,11 +558,11 @@ void rx_panadapter_update(RECEIVER *rx) { } else { // // if filled, use 0.5 (active) and 0.25 (inactive) - // if only drawing the line, use 1.0 (active) and 0.5 (inactive) + // if only drawing the line, use 0.75 for active RX // double brightness=0.25; - if (active) brightness=2.0*brightness; - if (!display_filled) brightness=2.0*brightness; + if (active) brightness = 0.50; + if (!display_filled && active) brightness =0.75; cairo_set_source_rgba(cr, 1.0, 1.0, 1.0, brightness); }