diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-12 15:14:19 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-12 15:14:19 -0500 |
commit | 20d7c58b83fde884c03d78220dc8b0dbd7bd2901 (patch) | |
tree | 92897e8f07179c12d7369ff3fcc6b83fdf9bae3a /gtk2_ardour/editor_tempodisplay.cc | |
parent | 937cb4fd2b0c5e9e8e4d883f31f7c4dd2bb2ac08 (diff) |
make measure line positioning use Editor::sample_to_pixel() and avoid extra 0.5 pixel shift
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |