Skip to content

Commit

Permalink
set foreground colour to the first (lowest) colour before drawing the…
Browse files Browse the repository at this point in the history
… scale, to ensure it always stays the same colour
  • Loading branch information
randomcoder67 committed Jun 3, 2024
1 parent 0bc625f commit c63984b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/conky.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c63984b

Please sign in to comment.