mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
remove Editor::redraw_measures to improve efficiency of tempo measure line redraws
This commit is contained in:
parent
05905d3ec8
commit
f88cfdb478
4 changed files with 17 additions and 29 deletions
|
|
@ -3725,8 +3725,14 @@ Editor::set_show_measures (bool yn)
|
|||
if (tempo_lines) {
|
||||
tempo_lines->show();
|
||||
}
|
||||
(void) redraw_measures ();
|
||||
|
||||
ARDOUR::TempoMap::BBTPointList::const_iterator begin;
|
||||
ARDOUR::TempoMap::BBTPointList::const_iterator end;
|
||||
|
||||
compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_samples(), begin, end);
|
||||
draw_measures (begin, end);
|
||||
}
|
||||
|
||||
instant_save ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue