From ba9d84a3476e145665cd044d0b3495ac3e3eb15e Mon Sep 17 00:00:00 2001 From: randomcoder67 Date: Mon, 3 Jun 2024 18:09:34 +0100 Subject: [PATCH] set foreground colour to the first (lowest) colour before drawing the scale, to ensure it always stays the same colour --- src/conky.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conky.cc b/src/conky.cc index 8fc6c9f0..78f91b13 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -1374,6 +1374,7 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) { } #ifdef BUILD_MATH if (show_graph_scale.get(*state) && (current->show_scale == 1)) { + set_foreground_color(current->first_colour); int tmp_x = cur_x; int tmp_y = cur_y; cur_x += font_ascent() / 2;