Fixed an issue where some default label fields were not getting properly initialized for legacy theme sets.

This commit is contained in:
Leon Styhre 2022-09-09 17:58:43 +02:00
parent 807cf7b057
commit 34b56c490b

View file

@ -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);