mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
compute_bbt_ruler_scale should not be necessary for every redraw of the timeline. Works OK here without it...
This commit is contained in:
parent
b3ef0a9e8d
commit
830728aaee
1 changed files with 4 additions and 1 deletions
|
|
@ -299,7 +299,10 @@ Editor::redisplay_tempo (bool immediate_redraw)
|
|||
}
|
||||
|
||||
if (immediate_redraw) {
|
||||
compute_bbt_ruler_scale (leftmost_frame, leftmost_frame + current_page_samples());
|
||||
|
||||
//only recalculate bbt_ruler_scale on a zoom or snap-change; not every redraw; if a case is found where this is necessary, uncomment this line.
|
||||
// compute_bbt_ruler_scale (leftmost_frame, leftmost_frame + current_page_samples());
|
||||
|
||||
std::vector<TempoMap::BBTPoint> grid;
|
||||
|
||||
if (bbt_ruler_scale != bbt_show_many) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue