diff options
Diffstat (limited to 'gtk2_ardour/mixer_group_tabs.cc')
-rw-r--r-- | gtk2_ardour/mixer_group_tabs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_group_tabs.cc b/gtk2_ardour/mixer_group_tabs.cc index a948fe1b61..6c97a8f043 100644 --- a/gtk2_ardour/mixer_group_tabs.cc +++ b/gtk2_ardour/mixer_group_tabs.cc @@ -100,10 +100,10 @@ MixerGroupTabs::draw_tab (cairo_t* cr, Tab const & tab) const if (tab.group) { pair<string, double> const f = fit_to_pixels (cr, tab.group->name(), tab.to - tab.from - arc_radius * 2); - + cairo_text_extents_t ext; cairo_text_extents (cr, tab.group->name().c_str(), &ext); - + cairo_set_source_rgb (cr, 1, 1, 1); cairo_move_to (cr, tab.from + (tab.to - tab.from - f.second) / 2, _height - ext.height / 2); cairo_save (cr); |