mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-29 01:58:26 +00:00
set foreground colour to the first (lowest) colour before drawing the scale, to ensure it always stays the same colour
This commit is contained in:
parent
12da795b77
commit
ba9d84a347
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user