From 6ef84ca376d4ca98b09ed4e8cf3b8538d4c0cfea Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 25 Jun 2023 13:09:39 -0600 Subject: [PATCH] increase transparency of velocity ghost regions --- gtk2_ardour/velocity_ghost_region.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/velocity_ghost_region.cc b/gtk2_ardour/velocity_ghost_region.cc index 30fc38006d..b5b25f6b30 100644 --- a/gtk2_ardour/velocity_ghost_region.cc +++ b/gtk2_ardour/velocity_ghost_region.cc @@ -58,6 +58,7 @@ VelocityGhostRegion::VelocityGhostRegion (MidiRegionView& mrv, TimeAxisView& tv, , drag_did_change (false) { base_rect->Event.connect (sigc::mem_fun (*this, &VelocityGhostRegion::base_event)); + base_rect->set_fill_color (UIConfiguration::instance().color_mod ("ghost track base", "ghost track midi fill")); base_rect->set_outline_color (UIConfiguration::instance().color ("automation track outline")); base_rect->set_outline (true); base_rect->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::LEFT|ArdourCanvas::Rectangle::RIGHT)); @@ -206,7 +207,7 @@ VelocityGhostRegion::remove_note (NoteBase*) void VelocityGhostRegion::set_colors () { - base_rect->set_fill_color (UIConfiguration::instance().color ("ghost track base")); + base_rect->set_fill_color (UIConfiguration::instance().color_mod ("ghost track base", "ghost track midi fill")); for (auto & gev : events) { gev.second->item->set_fill_color (gev.second->event->base_color());