From a07c50ad80e42dc89058a438f30d0378f554b1fe Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 3 Jul 2013 01:48:10 +0200 Subject: [PATCH] reduce peak-hold indicator to 2px height --- libs/gtkmm2ext/fastmeter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gtkmm2ext/fastmeter.cc b/libs/gtkmm2ext/fastmeter.cc index 5b5cd160d8..d150b20340 100644 --- a/libs/gtkmm2ext/fastmeter.cc +++ b/libs/gtkmm2ext/fastmeter.cc @@ -365,7 +365,7 @@ FastMeter::vertical_expose (GdkEventExpose* ev) last_peak_rect.x = 1; last_peak_rect.width = pixwidth; last_peak_rect.y = 1 + pixheight - (gint) floor (pixheight * current_peak); - last_peak_rect.height = min(3, pixheight - last_peak_rect.y); + last_peak_rect.height = min(2, pixheight - last_peak_rect.y); cairo_set_source (cr, fgpattern->cobj()); cairo_rectangle (cr, 1, last_peak_rect.y, pixwidth, last_peak_rect.height);