From 39fc90abda1d0a904e169b1685572c014f48a487 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 14 Nov 2010 17:26:50 +0000 Subject: [PATCH] Fix region name highlight drawing slightly (#2948) git-svn-id: svn://localhost/ardour2/branches/3.0@8031 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view_item.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index b5754c9ca1..9feef96660 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -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) {