From 2ac2a4fd4c6b66a6da5cf9adbb4a6edf3f5b4b7e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 28 Jan 2025 09:10:01 -0600 Subject: [PATCH] (backport) loop and config icon should obey the fg_color they are provided --- libs/widgets/ardour_icon.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/widgets/ardour_icon.cc b/libs/widgets/ardour_icon.cc index f66a08af53..e17458cf28 100644 --- a/libs/widgets/ardour_icon.cc +++ b/libs/widgets/ardour_icon.cc @@ -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_stroke_preserve (cr); cairo_close_path (cr); - cairo_set_source_rgba (cr, 1, 1, 1, 1.0); - cairo_fill (cr); + VECTORICONSTROKEFILLFG (1.0); #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_close_path (cr); - VECTORICONSTROKEFILL (lw); + VECTORICONSTROKEFILLFG (0.9); cairo_arc (cr, x, y, r0, 0, 2.0 * M_PI); VECTORICONSTROKE (lw, fg_color);