diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-14 13:35:17 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-14 13:35:17 +0000 |
commit | a8baa20be8fd65299e843611eb8bb90443806da8 (patch) | |
tree | 6b8ae64cf32cb817687529a0235ac23af852bcee /gtk2_ardour/editor_tempodisplay.cc | |
parent | a238ec037257be28dc1dab45c3ebbaf31376cbbf (diff) |
Make tempo lines physical_screen_height high, add xml null check, Use clicked_regionview directly to calculate region movement. Using drag_info.data may result in the wrong regionbiew being used, don't use canvas coords for region_drag_finished_callback x calculation (eliminates speed adjustment), prevent incorrect updates on dropped regions by updating canvas before placing region copies.
git-svn-id: svn://localhost/ardour2/branches/3.0@3965 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 9e608521ed..609b5b221c 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -183,7 +183,7 @@ Editor::draw_measures () } if (tempo_lines == 0) { - tempo_lines = new TempoLines(*track_canvas, time_line_group); + tempo_lines = new TempoLines(*track_canvas, time_line_group, physical_screen_height); } tempo_lines->draw(*current_bbt_points, frames_per_unit); |