diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-04-21 08:35:20 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-04-21 08:35:20 -0500 |
commit | 91fac4c96dc6210dcc056da70dc608700d7eb570 (patch) | |
tree | 93c24f138224d39975e6da4abaa4b36a521b970b /gtk2_ardour/audio_clock.cc | |
parent | f44e2e55fdd6e4d265f3eff715b071a27da8b5eb (diff) | |
parent | d3d7428a189d031739f901472f016b2907752640 (diff) |
merge fix for tempo branch
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index a90946f3ba..2a84abc66a 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -334,7 +334,7 @@ AudioClock::render (cairo_t* cr, cairo_rectangle_t*) if (mode_based_info_ratio != 1.0) { - double left_rect_width = round (((get_width() - separator_height) * mode_based_info_ratio) + 0.5); + double left_rect_width = get_left_rect_width(); if (_need_bg) { if (corner_radius) { |