Fix #6864: Normalise colour use in Frame rate window

This commit is contained in:
Niels Martin Hansen
2018-11-01 19:56:34 +01:00
parent cb1fcc4765
commit 9e30fbab34
2 changed files with 23 additions and 23 deletions

View File

@@ -450,7 +450,7 @@ struct FramerateWindow : Window {
void DrawElementTimesColumn(const Rect &r, StringID heading_str, const CachedDecimal *values) const
{
int y = r.top;
DrawString(r.left, r.right, y, heading_str, TC_FROMSTRING, SA_CENTER);
DrawString(r.left, r.right, y, heading_str, TC_FROMSTRING, SA_CENTER, true);
y += FONT_HEIGHT_NORMAL + VSPACING;
for (PerformanceElement e = PFE_FIRST; e < PFE_MAX; e++) {