fix initial display of BBT ruler, i believe

git-svn-id: svn://localhost/ardour2/branches/3.0@13560 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-11-28 00:18:10 +00:00
parent b286b45ea8
commit 8cbd5a8bec
2 changed files with 4 additions and 2 deletions

View File

@ -854,6 +854,9 @@ Editor::update_tempo_based_rulers (ARDOUR::TempoMap::BBTPointList::const_iterato
return;
}
compute_bbt_ruler_scale (leftmost_frame, leftmost_frame+current_page_frames(),
begin, end);
ruler_metrics[ruler_metric_bbt].units_per_pixel = frames_per_unit;
if (ruler_bbt_action->get_active()) {

View File

@ -134,8 +134,7 @@ Editor::redisplay_tempo (bool immediate_redraw)
ARDOUR::TempoMap::BBTPointList::const_iterator current_bbt_points_end;
compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames(),
current_bbt_points_begin, current_bbt_points_begin);
current_bbt_points_begin, current_bbt_points_end);
if (immediate_redraw) {
redraw_measures ();