From 92ea86bd378992dffe5f2156cb4098f855c66e38 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 22 Jan 2015 22:03:06 -0500 Subject: [PATCH] fix coloring of loop range marker. RangeMarker::use_color() gets called during construction so that still needs to be undone to remove the striped pattern, but we still need the end line color set correctly even when only Marker::use_color() is called. --- gtk2_ardour/marker.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index bc84f00d57..b6ab043a4a 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -82,9 +82,13 @@ RulerMarker::use_color () { Marker::use_color (); - /* unset the effects of RangeMarker::use_color () */ + /* unset the effects of RangeMarker::use_color () called during constructor */ _name_background->set_pattern (Cairo::RefPtr ()); + + if (_end_line) { + _end_line->set_outline_color (_color); + } } void