summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-16 22:22:45 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-16 22:22:45 -0400
commiteed0201c077d6b290cd7587e752a524803bb2b89 (patch)
tree49eaad432bd4ce3e4d08a8b080712d8031e9df54 /gtk2_ardour/tempo_lines.cc
parentc6d5b2ce6d74f36d01dae8fd3602b73142ca5d87 (diff)
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!
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc2
1 files changed, 1 insertions, 1 deletions
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));
}