From 30740983e0e7f2273eeb317b819443fb913b7af7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 7 Nov 2014 12:57:22 -0500 Subject: [PATCH] fix up dimensions of ghostregion colored rect --- gtk2_ardour/ghostregion.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index c2bc30600f..4c0924caf8 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -49,9 +49,9 @@ GhostRegion::GhostRegion (ArdourCanvas::Container* parent, TimeAxisView& tv, Tim base_rect = new ArdourCanvas::TimeRectangle (group); CANVAS_DEBUG_NAME (base_rect, "ghost region rect"); base_rect->set_x0 (0); - base_rect->set_y0 (0.0); - base_rect->set_y1 (trackview.current_height() - 1.0); - base_rect->set_outline_what (ArdourCanvas::Rectangle::What (0)); + base_rect->set_y0 (1.0); + base_rect->set_y1 (trackview.current_height()); + base_rect->set_outline (false); if (!is_automation_ghost()) { base_rect->hide(); @@ -87,7 +87,6 @@ void GhostRegion::set_colors () { if (is_automation_ghost()) { - base_rect->set_outline_color (ARDOUR_UI::config()->get_GhostTrackBase()); base_rect->set_fill_color (ARDOUR_UI::config()->get_GhostTrackBase()); } } -- 2.30.2