summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-24 23:03:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-24 23:03:11 -0400
commit2108525187a420c0090b5834c82c473a072436a9 (patch)
tree9fa11d8c506a2823bbdc574df112012a6aaa487e /gtk2_ardour/tempo_lines.cc
parenta1f858d3b207739e0719c1fc28003f1d9dd3965d (diff)
fix up size and drawing of measure lines, even when vertically scrolled
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index 6bf7dfbde9..083b7a5cca 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -25,10 +25,10 @@
using namespace std;
-TempoLines::TempoLines (ArdourCanvas::Canvas& canvas, ArdourCanvas::Group* group, double screen_height)
+TempoLines::TempoLines (ArdourCanvas::Canvas& canvas, ArdourCanvas::Group* group, double h)
: _canvas (canvas)
, _group (group)
- , _height (screen_height)
+ , _height (h)
{
}