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.
This commit is contained in:
Paul Davis 2015-01-22 22:03:06 -05:00
parent 7940522eed
commit 92ea86bd37

View file

@ -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<Cairo::SurfacePattern> ());
if (_end_line) {
_end_line->set_outline_color (_color);
}
}
void