mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Added 'none' as a supported carousel item type to show only text entries in the gamelist view.
This commit is contained in:
parent
fd20ecb142
commit
49c9710afc
|
@ -151,7 +151,7 @@ void GamelistView::onThemeChanged(const std::shared_ptr<ThemeData>& theme)
|
|||
itemType == "backcover" || itemType == "3dbox" ||
|
||||
itemType == "physicalmedia" || itemType == "screenshot" ||
|
||||
itemType == "titlescreen" || itemType == "miximage" ||
|
||||
itemType == "fanart") {
|
||||
itemType == "fanart" || itemType == "none") {
|
||||
mCarousel->setItemType(itemType);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -436,6 +436,8 @@ template <typename T> void CarouselComponent<T>::onDemandTextureLoad()
|
|||
entry.data.itemPath = game->getMiximagePath();
|
||||
else if (mItemType == "fanart")
|
||||
entry.data.itemPath = game->getFanArtPath();
|
||||
else if (mItemType == "none") // Display the game name as text.
|
||||
return;
|
||||
|
||||
auto theme = game->getSystem()->getTheme();
|
||||
updateEntry(entry, theme);
|
||||
|
|
Loading…
Reference in a new issue