From 4581757bb97e6def0e2273a877d48619fe992669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kadir=20Y=C3=BCksel?= <49368530+yuksel-kadir@users.noreply.github.com> Date: Sun, 20 Aug 2023 14:03:57 +0300 Subject: [PATCH] Update colors of the Stats menu Change the color of the text in the stats table and the color of the stats table header. --- src/core/Frontend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index b9eb193a..2fddbba7 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -3466,7 +3466,7 @@ CMenuManager::PrintStats() if (y >= MENU_Y(STATS_TOP_Y + STATS_FADING_AREA_LENGTH) && y <= MENU_Y(STATS_BOTTOM_Y - STATS_FADING_AREA_LENGTH)) alpha = 255.0f; - CFont::SetColor(CRGBA(0, 0, 0, FadeIn(Min(255.f, alpha)))); + CFont::SetColor(CRGBA(255, 255, 255, FadeIn(Min(255.f, alpha)))); CFont::SetRightJustifyOff(); CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_ROW_LEFT_MARGIN), y, gUString); CFont::SetRightJustifyOn(); @@ -3498,7 +3498,7 @@ CMenuManager::PrintStats() #else CFont::SetScale(MENU_X(SMALLTEXT_X_SCALE), MENU_Y(SMALLTEXT_Y_SCALE)); #endif - CFont::SetColor(CRGBA(0, 0, 0, FadeIn(255))); + CFont::SetColor(CRGBA(255, 255, 255, FadeIn(255))); CFont::SetDropShadowPosition(0); CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_RATING_X) - CFont::GetStringWidth(gUString2, true) / 2.f, MENU_Y(STATS_RATING_Y_2), gUString2);