- tempo_lines->draw(*current_bbt_points, frames_per_unit);
- marker_tempo_lines->draw(*current_bbt_points, frames_per_unit);
-
- /*time_line_group->raise_to_top();
- time_line_group->lower(1);*/
- marker_time_line_group->raise_to_top();
- //marker_time_line_group->lower(1);
-
- /* the cursors are always on top of everything */
- cursor_group->raise_to_top();
+ if (tempo_lines == 0) {
+ tempo_lines = new TempoLines(*track_canvas, time_line_group, physical_screen_height);
+ }