diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-22 00:33:31 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-22 00:33:31 +0000 |
commit | 442eef90ab056ed373e8f5992602700a9f40cbe1 (patch) | |
tree | cbb190a7778b2491e65e244b9f8123ac5a830b17 /gtk2_ardour/mixer_group_tabs.cc | |
parent | cfbec44c3351c062d2360615c894db4cb1f8d260 (diff) |
Fix problems with dragging route groups so that they are too small.
git-svn-id: svn://localhost/ardour2/branches/3.0@5240 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_group_tabs.cc')
-rw-r--r-- | gtk2_ardour/mixer_group_tabs.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_group_tabs.cc b/gtk2_ardour/mixer_group_tabs.cc index a8fe713aa4..7ab162d3c8 100644 --- a/gtk2_ardour/mixer_group_tabs.cc +++ b/gtk2_ardour/mixer_group_tabs.cc @@ -55,12 +55,14 @@ MixerGroupTabs::compute_tabs () const if (g != tab.group) { if (tab.group) { tab.to = x; + tab.last_ui_size = (*i)->get_width (); tabs.push_back (tab); } tab.from = x; tab.group = g; tab.colour = (*i)->color (); + tab.first_ui_size = (*i)->get_width (); } x += (*i)->get_width (); |