From 34b56c490ba9a04c3603cd4bf84440cdebb1fc85 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 9 Sep 2022 17:58:43 +0200 Subject: [PATCH] Fixed an issue where some default label fields were not getting properly initialized for legacy theme sets. --- es-app/src/views/GamelistLegacy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/es-app/src/views/GamelistLegacy.h b/es-app/src/views/GamelistLegacy.h index 1c07f70d5..a3760c991 100644 --- a/es-app/src/views/GamelistLegacy.h +++ b/es-app/src/views/GamelistLegacy.h @@ -696,9 +696,11 @@ void GamelistView::legacyInitMDValues() for (size_t i = LegacyText::MD_LBL_RATING; i < LegacyText::MD_DEVELOPER; ++i) { labels.emplace_back(&*mTextComponents[i]); mTextComponents[i]->setFont(defaultFont); - // mTextComponents[i]->setColor(0xFFFFFFFF); } + for (size_t i = LegacyText::MD_DEVELOPER; i < LegacyText::MD_DESCRIPTION; ++i) + mTextComponents[i]->setFont(defaultFont); + mDateTimeComponents[LegacyDateTime::MD_RELEASEDATE]->setFont(defaultFont); mDateTimeComponents[LegacyDateTime::MD_LASTPLAYED]->setFont(defaultFont);