From 20d7c58b83fde884c03d78220dc8b0dbd7bd2901 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 12 Feb 2014 15:14:19 -0500 Subject: make measure line positioning use Editor::sample_to_pixel() and avoid extra 0.5 pixel shift --- gtk2_ardour/editor_tempodisplay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_tempodisplay.cc') diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 11c5513f68..10333f1eec 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -179,7 +179,7 @@ Editor::draw_measures (ARDOUR::TempoMap::BBTPointList::const_iterator& begin, tempo_lines = new TempoLines (*_track_canvas, time_line_group, ArdourCanvas::COORD_MAX); } - tempo_lines->draw (begin, end, samples_per_pixel); + tempo_lines->draw (begin, end); } void -- cgit v1.2.3