compute_bbt_ruler_scale should not be necessary for every redraw of the timeline. Works OK here without it...

This commit is contained in:
Ben Loftis 2017-03-10 08:37:26 -06:00
parent b3ef0a9e8d
commit 830728aaee

View file

@ -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) {