Need to readjust the thermo legends

This commit is contained in:
XANTRONIX Development 2024-01-16 13:52:01 -05:00
parent 033f5aa47a
commit 922fcd4871

View file

@ -31,10 +31,10 @@ static int draw_bg(hexagram_gauge *gauge, cairo_t *cr) {
cairo_set_font_size(cr, thermo->dial.radius * 0.1);
cairo_set_source_rgb(cr, 1, 1, 1);
hexagram_dial_draw_legend(&thermo->dial, cr, 0.75, thermo->dial.min_value, "C");
hexagram_dial_draw_legend(&thermo->dial, cr, 0.725, thermo->dial.min_value, "C");
cairo_set_source_rgb(cr, 1, 0, 0);
hexagram_dial_draw_legend(&thermo->dial, cr, 0.75, thermo->dial.max_value, "H");
hexagram_dial_draw_legend(&thermo->dial, cr, 0.725, thermo->dial.max_value, "H");
cairo_set_line_width(cr, 6.0);