From eed0201c077d6b290cd7587e752a524803bb2b89 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Apr 2013 22:22:45 -0400 Subject: [PATCH] fix bug with tempo lines not extending far enough in the y-axis - since this is the cairo canvas now, just extend them to COORD_MAX .. yay! --- gtk2_ardour/tempo_lines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index cd923d88a9..1379fafec4 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -215,7 +215,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin, line->set_x0 (xpos); line->set_x1 (xpos); line->set_y0 (0.0); - line->set_y1 (_height); + line->set_y1 (ArdourCanvas::COORD_MAX); line->set_outline_color (color); _lines.insert(make_pair(xpos, line)); }