patch from mantis user cth103 to fix up fixed-time cross-track drags
[ardour.git] / gtk2_ardour / region_view.cc
index 634c29f767a1ba90ca0512978cf88c52ff60132e..e0b6eddb1ff793173860001fe5260bc48bce9609 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: regionview.cc 691 2006-07-23 12:03:19Z drobilla $
 */
 
 #include <cmath>
@@ -359,9 +358,9 @@ void
 RegionView::set_frame_color ()
 {
        if (_region->opaque()) {
-               fill_opacity = 180;
+               fill_opacity = 130;
        } else {
-               fill_opacity = 100;
+               fill_opacity = 60;
        }
 
        TimeAxisViewItem::set_frame_color ();
@@ -398,6 +397,7 @@ RegionView::region_renamed ()
 
        set_item_name (str, this);
        set_name_text (str);
+       reset_width_dependent_items (_pixel_width);
 }
 
 void