diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 10:38:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 10:38:12 -0400 |
commit | af4539f857a14be3856da89a20811bf39e4ffb6e (patch) | |
tree | 1a830af01e43e9c7491408f54514882ad59df465 /gtk2_ardour/editor_tempodisplay.cc | |
parent | cfe4bfb7325c7786865ea1e51505e4c9a4d0631f (diff) |
a few changes to fix region dragging, all related to coordinate system handling, which is now much simpler with the new canvas; more debugging output when asked for
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 30aab87d05..b717ef5464 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -193,9 +193,8 @@ Editor::draw_measures (ARDOUR::TempoMap::BBTPointList::const_iterator& begin, if (tempo_lines == 0) { tempo_lines = new TempoLines (*_track_canvas_viewport, time_line_group, physical_screen_height(get_window())); } - - // CAIROCANVAS - // tempo_lines->draw (begin, end, frames_per_unit); + + tempo_lines->draw (begin, end, samples_per_pixel); } void |