mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 23:47:39 +01:00
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:
parent
7940522eed
commit
92ea86bd37
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue