mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 01:26:31 +01:00
(backport) loop and config icon should obey the fg_color they are provided
This commit is contained in:
parent
63bab272dc
commit
2ac2a4fd4c
1 changed files with 2 additions and 3 deletions
|
|
@ -689,8 +689,7 @@ icon_transport_loop (cairo_t* cr, const int width, const int height, const uint3
|
||||||
cairo_set_source_rgba (cr, 0, 0, 0, 1.0);
|
cairo_set_source_rgba (cr, 0, 0, 0, 1.0);
|
||||||
cairo_stroke_preserve (cr);
|
cairo_stroke_preserve (cr);
|
||||||
cairo_close_path (cr);
|
cairo_close_path (cr);
|
||||||
cairo_set_source_rgba (cr, 1, 1, 1, 1.0);
|
VECTORICONSTROKEFILLFG (1.0);
|
||||||
cairo_fill (cr);
|
|
||||||
#undef ARCARROW
|
#undef ARCARROW
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1362,7 +1361,7 @@ icon_config_menu (cairo_t* cr, const int width, const int height, const uint32_t
|
||||||
cairo_arc (cr, x, y, r1, ang0 + angm + angd, ang1 - angm - angd);
|
cairo_arc (cr, x, y, r1, ang0 + angm + angd, ang1 - angm - angd);
|
||||||
}
|
}
|
||||||
cairo_close_path (cr);
|
cairo_close_path (cr);
|
||||||
VECTORICONSTROKEFILL (lw);
|
VECTORICONSTROKEFILLFG (0.9);
|
||||||
|
|
||||||
cairo_arc (cr, x, y, r0, 0, 2.0 * M_PI);
|
cairo_arc (cr, x, y, r0, 0, 2.0 * M_PI);
|
||||||
VECTORICONSTROKE (lw, fg_color);
|
VECTORICONSTROKE (lw, fg_color);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue