mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed an issue where the theme controlled opacity tag did not have any effect on rating elements.
This commit is contained in:
parent
93e0bfab5b
commit
58803fe8f7
|
@ -263,6 +263,7 @@ void GamelistView::onThemeChanged(const std::shared_ptr<ThemeData>& theme)
|
||||||
mRatingComponents.back()->setDefaultZIndex(45.0f);
|
mRatingComponents.back()->setDefaultZIndex(45.0f);
|
||||||
mRatingComponents.back()->applyTheme(theme, "gamelist", element.first, ALL);
|
mRatingComponents.back()->applyTheme(theme, "gamelist", element.first, ALL);
|
||||||
mRatingComponents.back()->setScrollHide(true);
|
mRatingComponents.back()->setScrollHide(true);
|
||||||
|
mRatingComponents.back()->setOpacity(mRatingComponents.back()->getOpacity());
|
||||||
addChild(mRatingComponents.back().get());
|
addChild(mRatingComponents.back().get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -556,6 +556,8 @@ void SystemView::populate()
|
||||||
elements.ratingComponents.back()->applyTheme(theme, "system", element.first,
|
elements.ratingComponents.back()->applyTheme(theme, "system", element.first,
|
||||||
ThemeFlags::ALL);
|
ThemeFlags::ALL);
|
||||||
elements.ratingComponents.back()->setVisible(false);
|
elements.ratingComponents.back()->setVisible(false);
|
||||||
|
elements.ratingComponents.back()->setOpacity(
|
||||||
|
elements.ratingComponents.back()->getOpacity());
|
||||||
elements.children.emplace_back(elements.ratingComponents.back().get());
|
elements.children.emplace_back(elements.ratingComponents.back().get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue