diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-28 00:18:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-28 00:18:10 +0000 |
commit | 8cbd5a8bec5b8b3222735ec733e37527559e908e (patch) | |
tree | d07779751f92f92aae9e13094d438a1acdc041ca /gtk2_ardour/editor_rulers.cc | |
parent | b286b45ea849b544107e7f03916519b7b00114c3 (diff) |
fix initial display of BBT ruler, i believe
git-svn-id: svn://localhost/ardour2/branches/3.0@13560 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index 0cfbcdfaa4..3c73f0ce23 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -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()) { |