diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-03 01:48:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-10 15:27:05 +0200 |
commit | a07c50ad80e42dc89058a438f30d0378f554b1fe (patch) | |
tree | 5ce7a9fd39836c7e84fd4873c2e022eaf6b65996 /libs/gtkmm2ext/fastmeter.cc | |
parent | be89982841643ba4132e21ad57fb0379550e1bba (diff) |
reduce peak-hold indicator to 2px height
Diffstat (limited to 'libs/gtkmm2ext/fastmeter.cc')
-rw-r--r-- | libs/gtkmm2ext/fastmeter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |