Fix region name highlight drawing slightly (#2948)
authorCarl Hetherington <carl@carlh.net>
Sun, 14 Nov 2010 17:26:50 +0000 (17:26 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 14 Nov 2010 17:26:50 +0000 (17:26 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8031 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/time_axis_view_item.cc

index b5754c9ca1863d4b27550921f1df84d16624d10e..9feef96660b0afeed186eb4a303fc098b440000f 100644 (file)
@@ -800,12 +800,7 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width)
                                high_enough_for_name = true;
                        }
                         
-                       if (visibility & FullWidthNameHighlight) {
-                               name_highlight->property_x2() = pixel_width;
-                       } else {
-                               name_highlight->property_x2() = pixel_width - 1.0;
-                       }
-
+                       name_highlight->property_x2() = pixel_width;
                }
 
                if (frame) {