Make the peak indication in the graph of a-expander green ...
authorJohannes Mueller <github@johannes-mueller.org>
Mon, 7 Aug 2017 12:58:59 +0000 (14:58 +0200)
committerJohannes Mueller <github@johannes-mueller.org>
Sat, 12 May 2018 17:49:18 +0000 (19:49 +0200)
... so that it has a different color than the expander curve

libs/plugins/a-exp.lv2/a-exp.c

index 0b11f2ae489107e3d07cd6ac86f89677c10cb23c..7365386567c6feac70b274da5d20dd55edfd243c 100644 (file)
@@ -787,7 +787,7 @@ render_inline_full (cairo_t* cr, const AExp* self)
        cairo_fill (cr);
 
        // draw peak input
-       cairo_set_source_rgba (cr, .9f, .9f, .9f, 1.0);
+       cairo_set_source_rgba (cr, .0f, 1.f, 0.f, 1.0);
        cairo_set_line_width(cr, 1.0);
 
        const float peak_x = w * (1.f - (10.f-self->v_peakdb)/70.f);