mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Merge pull request #116 from jrassa/carousel-fix
Fix for carousel theming
This commit is contained in:
commit
848788d982
|
@ -310,6 +310,9 @@ void SystemView::getViewElements(const std::shared_ptr<ThemeData>& theme)
|
||||||
|
|
||||||
getDefaultElements();
|
getDefaultElements();
|
||||||
|
|
||||||
|
if (!theme->hasView("system"))
|
||||||
|
return;
|
||||||
|
|
||||||
const ThemeData::ThemeElement* carouselElem = theme->getElement("system", "systemcarousel", "carousel");
|
const ThemeData::ThemeElement* carouselElem = theme->getElement("system", "systemcarousel", "carousel");
|
||||||
if (carouselElem)
|
if (carouselElem)
|
||||||
getCarouselFromTheme(carouselElem);
|
getCarouselFromTheme(carouselElem);
|
||||||
|
|
Loading…
Reference in a new issue