diff --git a/es-app/src/views/gamelist/DetailedGameListView.cpp b/es-app/src/views/gamelist/DetailedGameListView.cpp index f1d0719ef..fa979b29d 100644 --- a/es-app/src/views/gamelist/DetailedGameListView.cpp +++ b/es-app/src/views/gamelist/DetailedGameListView.cpp @@ -176,6 +176,11 @@ void DetailedGameListView::onThemeChanged(const std::shared_ptr& them ALL ^ (POSITION | ThemeFlags::SIZE | ThemeFlags::ORIGIN | TEXT | ROTATION)); mGamelistInfo.applyTheme(theme, getName(), "gamelistInfo", ALL ^ ThemeFlags::TEXT); + // If there is no position defined in the theme for gamelistInfo, then hide it. + if (mGamelistInfo.getPosition() == 0) + mGamelistInfo.setVisible(false); + else + mGamelistInfo.setVisible(true); sortChildren(); } diff --git a/es-app/src/views/gamelist/GridGameListView.cpp b/es-app/src/views/gamelist/GridGameListView.cpp index 591f206a8..9e8316249 100644 --- a/es-app/src/views/gamelist/GridGameListView.cpp +++ b/es-app/src/views/gamelist/GridGameListView.cpp @@ -313,6 +313,11 @@ void GridGameListView::onThemeChanged(const std::shared_ptr& theme) mGrid.setCursor(file); mGamelistInfo.applyTheme(theme, getName(), "gamelistInfo", ALL ^ ThemeFlags::TEXT); + // If there is no position defined in the theme for gamelistInfo, then hide it. + if (mGamelistInfo.getPosition() == 0) + mGamelistInfo.setVisible(false); + else + mGamelistInfo.setVisible(true); sortChildren(); } diff --git a/es-app/src/views/gamelist/VideoGameListView.cpp b/es-app/src/views/gamelist/VideoGameListView.cpp index 55f909e00..b91404f23 100644 --- a/es-app/src/views/gamelist/VideoGameListView.cpp +++ b/es-app/src/views/gamelist/VideoGameListView.cpp @@ -201,6 +201,11 @@ void VideoGameListView::onThemeChanged(const std::shared_ptr& theme) ALL ^ (POSITION | ThemeFlags::SIZE | ThemeFlags::ORIGIN | TEXT | ROTATION)); mGamelistInfo.applyTheme(theme, getName(), "gamelistInfo", ALL ^ ThemeFlags::TEXT); + // If there is no position defined in the theme for gamelistInfo, then hide it. + if (mGamelistInfo.getPosition() == 0) + mGamelistInfo.setVisible(false); + else + mGamelistInfo.setVisible(true); sortChildren(); }