From 442eef90ab056ed373e8f5992602700a9f40cbe1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Jun 2009 00:33:31 +0000 Subject: 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 --- gtk2_ardour/mixer_group_tabs.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/mixer_group_tabs.cc') 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 (); -- cgit v1.2.3