PCP: use palette meter text colour for dynamic meter labels

This commit is contained in:
Sohaib Mohamed 2021-07-07 13:59:33 +10:00 committed by Nathan Scott
parent f0ed0fdafb
commit 93be3211ae
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ void PCPDynamicMeter_display(PCPDynamicMeter* this, ATTR_UNUSED const Meter* met
if (metric->label) {
len = xSnprintf(buffer, sizeof(buffer), "%s ", metric->label);
RichString_appendnAscii(out, CRT_colors[metric->color], buffer, len);
RichString_appendnAscii(out, CRT_colors[METER_TEXT], buffer, len);
}
/* TODO: pretty-print the values - pmConvScale, etc */